mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-11 17:30:00 +01:00
svq1enc: Set picture_structure correctly
This fixes assert failures when running in debug mode.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 2d7d91f06d)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
committed by
Diego Biurrun
parent
ec0df23765
commit
3eed35addb
@@ -486,6 +486,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));
|
||||
|
||||
Reference in New Issue
Block a user