You did not provide much information, so the answer should be:
This seems to be an internal check of the libstagefright library.
I encountered the same error in the Samsung Tab 2 in the decoder configuration.
mDecoder = MediaCodec.createDecoderByType(mime);
After creating the decoder, it is configured with the input format received from the extractor (also called demuxer)
MediaFormat inputFormat = extractor.getTrackFormat(i); mDecoder.configure(inputFormat, null, null, 0);
Fix (put it before mDecoder.configure):
inputFormat.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, 0);
user2399321
source share