mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-24 08:38:32 +08:00
tiffenc: initialize forgotten avctx.
This commit is contained in:

committed by
Justin Ruggles

parent
c74f1f47b2
commit
47a1d794db
@ -217,6 +217,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;
|
||||
|
Reference in New Issue
Block a user