]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/svq1enc.c
svq1enc: set picture_structure correctly
[ffmpeg] / libavcodec / svq1enc.c
index 61c30d4cb7ca79c887d46a9d1b2c8af71683cfc5..951f803d9b8b0a643d9582def18438a9fd45a211 100644 (file)
@@ -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));