package com.tencent.mm.plugin.voip.video;

import android.media.MediaPlayer;
import android.media.MediaPlayer.OnErrorListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;

class i$6 implements OnErrorListener {
    final /* synthetic */ i tbl;

    i$6(i iVar) {
        this.tbl = iVar;
    }

    public final boolean onError(MediaPlayer mediaPlayer, int i, int i2) {
        AppMethodBeat.i(5097);
        if (mediaPlayer != null) {
            mediaPlayer.release();
            this.tbl.tbh = 5;
            ab.w("MicroMsg.RingPlayer", "RingPlayer playSound :onError", new Object[]{mediaPlayer, Integer.valueOf(i), Integer.valueOf(i2)});
        }
        AppMethodBeat.o(5097);
        return false;
    }
}
