Commit 3e0b4e32 authored by Michael Niedermayer's avatar Michael Niedermayer

svq1enc: set picture_structure correctly

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f8dbbe54
...@@ -485,6 +485,7 @@ static av_cold int svq1_encode_init(AVCodecContext *avctx) ...@@ -485,6 +485,7 @@ static av_cold int svq1_encode_init(AVCodecContext *avctx)
s->avctx= avctx; s->avctx= avctx;
s->m.avctx= avctx; s->m.avctx= avctx;
s->m.picture_structure = PICT_FRAME;
s->m.me.temp = s->m.me.temp =
s->m.me.scratchpad= av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t)); 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)); s->m.me.map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t));
......
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