tiffenc: initialize forgotten avctx.
(cherry picked from commit f7e797aa5c
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
92566cf6ee
commit
8c0a0f10df
@@ -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