mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
svq1enc: set picture_structure correctly
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f8dbbe5464
commit
3e0b4e32c9
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user