[Ffmpeg-devel] SIGSEGV in h264.c, stream is available for debugging

Loren Merritt lorenm
Sat Sep 10 12:34:39 CEST 2005

On Fri, 9 Sep 2005, Dario Andrade wrote:
>> I've got a SIGSEGV decoding h264, the stream was generated by x264.
>> The following stream was recorded live and begins from the middle:
>> http://www.datscom.com.br/~dario/dump.SIGSEGV.h264
>> the following command line reproduces the fault (the source code is updated
>> from cvs as of 09/05/2005 08:13pm GMT-3).
>> $ ./ffmpeg -i dump.SIGSEGV.h264 -f null dump.SIGSEGV.h264.null
> Has anyone got any status on that subject?
> Anyway, I've managed to increase the number of max
> reference pics (at least from what I could understand from the code), from
> 16 to 32 in h264.c, and it seems to help a little (the stream above now
> decodes to the end).

H.264 is not allowed to use more than 16 refs. If increasing the max 
changes anything, it's simply indicative of a bug elsewhere.

--Loren Merritt

More information about the ffmpeg-devel mailing list