[FFmpeg-devel] [PATCH] fix shifted picture in AMV video decoder when height is not dividable by 16
Vladimir Voroshilov
voroshil
Sun Oct 14 06:11:41 CEST 2007
2007/10/13, Michael Niedermayer <michaelni at gmx.at>:
> Hi
>
> On Sat, Oct 13, 2007 at 11:33:58AM +0200, Vitor Sessak wrote:
> > Hi
> >
> > Vladimir Voroshilov wrote:
> > > Updated patch attached.
> >
> > [...]
> >
> > >
> > > --- ffmpeg.orig/libavcodec/sp5xdec.c 2007-10-03 21:43:26.000000000 +0700
> > > +++ ffmpeg/libavcodec/sp5xdec.c 2007-10-13 10:19:21.000000000 +0700
> > > @@ -87,6 +87,7 @@
> > > recoded[j++] = 0xFF;
> > > recoded[j++] = 0xD9;
> > >
> > > + avctx->flags &= ~CODEC_FLAG_EMU_EDGE;
> > > i = ff_mjpeg_decode_frame(avctx, data, data_size, recoded, j);
> > >
> > > av_free(recoded);
> > > @@ -208,5 +209,5 @@
> > > NULL,
> > > ff_mjpeg_decode_end,
> > > sp5x_decode_frame,
> > > - CODEC_CAP_DR1
> > > + 0
> > > };
> >
> > I'd say that this 0 is useless.
>
> yes and the patch looks ok except that
Applied without that zero.
--
Regards,
Vladimir Voroshilov mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
More information about the ffmpeg-devel
mailing list