tiffenc: initialize forgotten avctx.

(cherry picked from commit f7e797aa5c)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Jean First
2011-09-23 23:39:51 +02:00
committed by Michael Niedermayer
parent 92566cf6ee
commit 8c0a0f10df

View File

@@ -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;