mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
SVQ3 : Set avctx->pix_fmt correctly during decoder initialisation.
Fixes issue 1591. Originally committed as revision 20810 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
54c2421647
commit
94621d329f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user