[Ffmpeg-devel] Re: [PATCH] faad decoding error return

Måns Rullgård mru
Sun Mar 5 02:52:50 CET 2006

Baptiste COUDURIER <baptiste.coudurier at smartjog.com> writes:

> M?ns Rullg?rd wrote:
>> Baptiste COUDURIER <baptiste.coudurier at smartjog.com> writes:
>>>This patch makes faac_decode_frame return -1 on error and not 0 which
>>>avoid stalling and infinite loop.
>> This seems reasonable.  However, why does it fail in the first place?
>> Do you have a sample?
> Sure, http://www.mplayerhq.hu/MPlayer/samples/h264/NeroAVC.mp4

Oh yes, that one.  I already have it in my local collection.  The
annoying thing with that clip is that it used to work.  With your
patch, sound returns, but the video runs at half the speed with

I'm suspecting a problem with the mov demuxer.  The messages from the
H.264 decoder look a bit strange:

[h264 @ 0xb03c2a28]AVC: Consumed only 14 bytes instead of 543428800
[h264 @ 0xb03c2a28]Unknown NAL code: 16
[h264 @ 0xb03c2a28]AVC: nal size 0

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list