On Sun, Jul 22, 2012 at 10:22:30PM -0400, Derek Buitenhuis wrote:
> From: Carl Eugen Hoyos <[email protected]>
> 
> ---
>  libavcodec/v410dec.c |    6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/libavcodec/v410dec.c b/libavcodec/v410dec.c
> index a6f236b..2484d8e 100644
> --- a/libavcodec/v410dec.c
> +++ b/libavcodec/v410dec.c
> @@ -28,10 +28,8 @@ static av_cold int v410_decode_init(AVCodecContext *avctx)
>      avctx->pix_fmt             = PIX_FMT_YUV444P10;
>      avctx->bits_per_raw_sample = 10;
>  
> -    if (avctx->width & 1) {
> -        av_log(avctx, AV_LOG_ERROR, "v410 requires even width.\n");
> -        return AVERROR_INVALIDDATA;
> -    }
> +    if (avctx->width & 1)
> +        av_log(avctx, AV_LOG_WARNING, "v410 requires even width.\n");
>  
>      avctx->coded_frame = avcodec_alloc_frame();
>  
> -- 

Ahem, why?
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to