Commit 29664700 authored by jai_menon's avatar jai_menon

SVQ3 : Set avctx->pix_fmt correctly during decoder initialiasation.

Fixes issue 1591.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20810 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ce13f134
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment