[FFmpeg-devel] [PATCH] remove an impossible case in mjpegenc.c

Michael Niedermayer michaelni
Fri Feb 15 20:28:47 CET 2008

On Fri, Feb 15, 2008 at 09:02:34AM +0100, Benoit Fouet wrote:
> Hi,
> sum of (horizontal subsampling x vertical subsampling) <= 10
> thus, the value 0x222222 is impossible

> Index: libavcodec/mjpegdec.c

Your subj says mjpegenc.c?
We definitly should not generate invalid mjpegs but i see no reasn why
we should drop support for invalid ones on the decoder side.


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080215/44313f53/attachment.pgp>

More information about the ffmpeg-devel mailing list