aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-06 16:28:13 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-06 16:28:13 +0200
commit3e0b4e32c9ee716feb62e3ac3420e421fd802dc7 (patch)
tree24d9d48e6f547771ff82c201089d7abc48451813
parentf8dbbe546435b892a050551f2260e4baf2a1f52b (diff)
downloadffmpeg-3e0b4e32c9ee716feb62e3ac3420e421fd802dc7.tar.gz
svq1enc: set picture_structure correctly
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/svq1enc.c1
1 files changed, 1 insertions, 0 deletions
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));