On 04/27/2011 03:25 PM, Reinhard Tartler wrote:

> From: Michael Niedermayer <[email protected]>
> 
> Reported-at: Thu, 21 Apr 2011 14:38:25 +0000
> Reported-by: Dominic Chell <[email protected]>
> Signed-off-by: Michael Niedermayer <[email protected]>
> (cherry picked from commit 89f903b3d5ec38c9c5d90fba7e626fa0eda61a32)
> (cherry picked from commit 9b919571e506fbb72b81a35ca1e7c1bd6efc4209)
> ---
>  libavcodec/sp5xdec.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c
> index e2c371a..3d01020 100644
> --- a/libavcodec/sp5xdec.c
> +++ b/libavcodec/sp5xdec.c
> @@ -86,7 +86,6 @@ static int sp5x_decode_frame(AVCodecContext *avctx,
>      recoded[j++] = 0xFF;
>      recoded[j++] = 0xD9;
>  
> -    avctx->flags &= ~CODEC_FLAG_EMU_EDGE;
>      av_init_packet(&avpkt_recoded);
>      avpkt_recoded.data = recoded;
>      avpkt_recoded.size = j;
> @@ -121,6 +120,6 @@ AVCodec ff_amv_decoder = {
>      NULL,
>      ff_mjpeg_decode_end,
>      sp5x_decode_frame,
> -    CODEC_CAP_DR1,
> +    0,
>      .long_name = NULL_IF_CONFIG_SMALL("AMV Video"),
>  };


The log message explains nothing.  What was the issue?  How is it
related to CODEC_CAP_DR1 and CODEC_FLAG_EMU_EDGE?  Why change
ff_amv_decoder and not ff_sp5x_decoder?

part of this seems to be related to the ffmpeg trac ticket #58

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to