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

Baptiste Coudurier baptiste.coudurier
Sun May 13 15:41:22 CEST 2007


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;


"Start Of Scan offset
    The offset, in bytes, from the start of the field data to the start
of scan data."

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjpegb_interlaced.patch
Type: text/x-diff
Size: 1600 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070513/97233800/attachment.patch>

More information about the ffmpeg-devel mailing list