mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
tiffenc: initialize forgotten avctx.
This commit is contained in:
parent
43c481e569
commit
f7e797aa5c
@ -220,6 +220,7 @@ static int encode_frame(AVCodecContext * avctx, unsigned char *buf,
|
||||
uint8_t *yuv_line = NULL;
|
||||
int shift_h, shift_v;
|
||||
|
||||
s->avctx = avctx;
|
||||
s->buf_start = buf;
|
||||
s->buf = &ptr;
|
||||
s->buf_size = buf_size;
|
||||
|
Loading…
Reference in New Issue
Block a user