[FFmpeg-devel] MJPEG bug
Aaron Miller
amiller at atlasdigital.tv
Fri Oct 7 05:25:04 CEST 2011
Michael,
This appears to fix it. I did not get any errors when running it on the
problematic file I've been working with, but I have yet to test it on other
files. The output plays fine.
This uses the state64 field of the ParseContext structure in a non-standard
way, that invalidates the comment in the header file: it stores two 16 bit
variables in the low 32 bits of state64.
Cheers,
Aaron
On Mon, Oct 3, 2011 at 9:33 AM, Michael Niedermayer <michaelni at gmx.at>wrote:
> On Sun, Oct 02, 2011 at 11:56:44PM -0700, Aaron Miller wrote:
> > Michael,
> >
> > Here is one problem frame from the (large) raw MJPEG stream I have.
> >
> > And thanks for the tip about mjpeg_parser.c! I believe that's what I need
> to
> > change.
>
> ok, if you manage to solve it please send a patch, if not please tell
> me and ill fix it
>
> [...]
>
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Freedom in capitalist society always remains about the same as it was in
> ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjpeg_parser.c.diff
Type: application/octet-stream
Size: 3280 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111006/6ee715fe/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjpegdec.c.diff
Type: application/octet-stream
Size: 2701 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111006/6ee715fe/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjpegdec.h.diff
Type: application/octet-stream
Size: 596 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111006/6ee715fe/attachment-0002.obj>
More information about the ffmpeg-devel
mailing list