On 17/03/14 18:53, Vittorio Giovara wrote:
> ---
>  libavcodec/svq3.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
> index 656e69d..b5d6042 100644
> --- a/libavcodec/svq3.c
> +++ b/libavcodec/svq3.c
> @@ -881,7 +881,8 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
>      h->flags           = avctx->flags;
>      h->is_complex      = 1;
>      h->picture_structure = PICT_FRAME;
> -    avctx->pix_fmt     = avctx->codec->pix_fmts[0];
> +    avctx->pix_fmt     = AV_PIX_FMT_YUVJ420P;
> +    avctx->color_range = AVCOL_RANGE_JPEG;

Fine for me.

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

Reply via email to