android.media.MediaCodec$CodecException: Error 0xffffffff


Solutions on the web3

Solution icon of github
Error 0xffffffff

Solution icon of stackoverflow
Error 0xffffffff

Solution icon of github
Error 0x8004d817

Stack trace

android.media.MediaCodec$CodecException: Error 0xffffffff
	at android.media.MediaCodec.native_queueSecureInputBuffer(Native Method)
	at android.media.MediaCodec.queueSecureInputBuffer(MediaCodec.java:2535)
	at com.google.android.exoplayer.MediaCodecTrackRenderer.feedInputBuffer(MediaCodecTrackRenderer.java:721)
	at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:529)
	at com.google.android.exoplayer.SampleSourceTrackRenderer.doSomeWork(SampleSourceTrackRenderer.java:128)
	at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:432)
	at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:211)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:148)
	at android.os.HandlerThread.run(HandlerThread.java:61)
	at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago