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

Michael Niedermayer michaelni
Sun May 13 22:02:34 CEST 2007


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070513/f74c2632/attachment.pgp>



More information about the ffmpeg-devel mailing list