aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2011-09-23 23:39:51 +0200
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-12 18:20:18 -0400
commit47a1d794dba02239f9eeb37e9dfd4dfdb634c3b7 (patch)
treecbb89cc9ce8f81d520669438181890e97bacae0b /libavcodec
parentc74f1f47b29dea6f4b5766a8d5a66bfeca35f9c3 (diff)
downloadffmpeg-47a1d794dba02239f9eeb37e9dfd4dfdb634c3b7.tar.gz
tiffenc: initialize forgotten avctx.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/tiffenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index a141a475b7..d486b3fd4b 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -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;