[FFmpeg-devel] [PATCH] mjpegb interlaced decoding fix

Baptiste Coudurier baptiste.coudurier
Wed Aug 1 15:15:22 CEST 2007


Hi

Michael Niedermayer wrote:
> Hi
> 
> On Sun, May 13, 2007 at 03:41:22PM +0200, Baptiste Coudurier wrote:
>> Hi
>>
>> For mjpegb_bottom.mov on mplayerhq/incoming
>>
>> It seems that decoder currently decodes twice the first field, since
>> it uses buf and not buf_ptr which is incremented for second field:
>>
>>  if (s->bottom_field && second_field_offs)
>>  {
>>       buf_ptr = buf + second_field_offs;
>>       second_field_offs = 0;
>>       goto read_header;
>>       }
>>
>> http://developer.apple.com/documentation/QuickTime/QTFF/QTFFChap3/chapter_4_section_2.html
>>
>> "Start Of Scan offset
>>     The offset, in bytes, from the start of the field data to the start
>> of scan data."
> 
> patch ok
> 

Applied.

-- 
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