[FFmpeg-devel] [PATCH] Fix return value for incomplete H264 frame packets

Carl Eugen Hoyos cehoyos
Mon Aug 23 12:41:27 CEST 2010

P?sztor Szil?rd <don <at> tricon.hu> writes:

> attached is a small but very useful change to the h264 decoder. EAGAIN as
> return value enables players to recognize if they supplied a H264 packet with
> only the first field in it, so that they can re-call the decoder with the
> second field, staying in sync.

I believe I already explained (on mplayer-dev-eng) that this patch makes ffmpeg
print one warning message for every second PAFF field, so I don't think it is
acceptable as-is.

Carl Eugen

More information about the ffmpeg-devel mailing list