Commit 2d7d91f0 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö
Browse files

svq1enc: Set picture_structure correctly

This fixes assert failures when running in debug mode.
Signed-off-by: default avatarMartin Storsjö <>
parent 91672504
...@@ -486,6 +486,7 @@ static av_cold int svq1_encode_init(AVCodecContext *avctx) ...@@ -486,6 +486,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-> = s-> =
s-> av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t)); s-> av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t));
s-> = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); s-> = 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