[FFmpeg-cvslog] tiffenc: initialize forgotten avctx.
Jean First
git at videolan.org
Sat Oct 1 21:38:47 CEST 2011
ffmpeg | branch: release/0.8 | Jean First <jeanfirst at gmail.com> | Fri Sep 23 23:39:51 2011 +0200| [8c0a0f10df9bcb3494eb31cf42ab06371b68b195] | committer: Michael Niedermayer
tiffenc: initialize forgotten avctx.
(cherry picked from commit f7e797aa5c987c39b55666a2d41877ef2aec40bc)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c0a0f10df9bcb3494eb31cf42ab06371b68b195
---
libavcodec/tiffenc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index 4a99a38..97e1dd3 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;
More information about the ffmpeg-cvslog
mailing list