tiffenc: initialize forgotten avctx.

This commit is contained in:
Jean First 2011-09-23 23:39:51 +02:00 committed by Michael Niedermayer
parent 43c481e569
commit f7e797aa5c
1 changed files with 1 additions and 0 deletions

View File

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