diff options
author | Jean First <jeanfirst@gmail.com> | 2011-09-23 23:39:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-23 23:39:51 +0200 |
commit | f7e797aa5c987c39b55666a2d41877ef2aec40bc (patch) | |
tree | 148f23d7ff740edeffa93a37eec47ac8b509c58d /libavcodec | |
parent | 43c481e56929789883f5b078e0e86d50fcc0025e (diff) | |
download | ffmpeg-f7e797aa5c987c39b55666a2d41877ef2aec40bc.tar.gz |
tiffenc: initialize forgotten avctx.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/tiffenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 647a5897b8..d8df77c641 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -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; |