From 3e0b4e32c9ee716feb62e3ac3420e421fd802dc7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 6 Aug 2012 16:28:13 +0200 Subject: svq1enc: set picture_structure correctly Signed-off-by: Michael Niedermayer --- libavcodec/svq1enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index 61c30d4cb7..951f803d9b 100644 --- a/libavcodec/svq1enc.c +++ b/libavcodec/svq1enc.c @@ -485,6 +485,7 @@ static av_cold int svq1_encode_init(AVCodecContext *avctx) s->avctx= avctx; s->m.avctx= avctx; + s->m.picture_structure = PICT_FRAME; s->m.me.temp = s->m.me.scratchpad= av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t)); s->m.me.map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); -- cgit v1.2.3