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

Benoit Fouet benoit.fouet
Mon Feb 18 08:59:00 CET 2008


Michael Niedermayer wrote:
> 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?
>   

oops...
> We definitly should not generate invalid mjpegs but i see no reasn why
> we should drop support for invalid ones on the decoder side.
>
>   

ok

-- 
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list