[Ffmpeg-devel] Re: mjpeg.c cosmetics/cleanup

Baptiste COUDURIER baptiste.coudurier
Sun Mar 26 16:29:39 CEST 2006

Michael Niedermayer wrote:
> Hi
> On Fri, Mar 24, 2006 at 11:39:30PM +0100, Arpi wrote:
>> Hi,
>> While working on mjpeg.c improvement (encoding without chroma subsampling)
>> i've found that encode_block() is quite messy (compared to decode_block),
>> it assumes 4:2:0 format, and its 'n' parameter is an 0..5 block index.
>> Although it should not be handled there, instead at mjpeg_encode_mb().
>> This patch fixes only this.
> patch ok
> [...]

Does not compile here :
mjpeg.c: In function 'encode_block':
mjpeg.c:632: error: 'n' undeclared (first use in this function)
mjpeg.c:632: error: (Each undeclared identifier is reported only once
mjpeg.c:632: error: for each function it appears in.)
mjpeg.c: In function 'mjpeg_decode_com':

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list