[FFmpeg-devel] [PATCH] fix shifted picture in AMV video decoder when height is not dividable by 16
Vitor Sessak
vitor1001
Sat Oct 13 11:33:58 CEST 2007
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.
-Vitor
More information about the ffmpeg-devel
mailing list