[FFmpeg-devel] [PATCH] ffh264: stop trying to decode colorspaces it doesn't support

Michael Niedermayer michaelni
Tue Jan 11 02:52:47 CET 2011

On Mon, Jan 10, 2011 at 03:30:18PM -0800, Jason Garrett-Glaser wrote:
> This works with one problem: I can't get ffh264 to stop trying to
> decode.  It will simply keep spamming and spamming if it encounters an
> unsupported file, instead of printing the error once and exiting.

> What's the right way to fix this?

you have to fail from  ff_h264_decode_init()
but is it really fatal if one SPS has a unsupported chroma_format ?
there can be multiple SPS and that one maybe isnt even used in the whole

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110111/7e165de5/attachment.pgp>

More information about the ffmpeg-devel mailing list