diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 962b1df8b7..787cfe0cb1 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -796,6 +796,7 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx) s->flags2 = avctx->flags2; s->unrestricted_mv = 1; h->is_complex=1; + avctx->pix_fmt = avctx->codec->pix_fmts[0]; if (!s->context_initialized) { s->width = avctx->width;