projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74f1f4
)
tiffenc: initialize forgotten avctx.
author
Jean First
<jeanfirst@gmail.com>
Fri, 23 Sep 2011 21:39:51 +0000
(23:39 +0200)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 12 Oct 2011 22:20:18 +0000
(18:20 -0400)
libavcodec/tiffenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/tiffenc.c
b/libavcodec/tiffenc.c
index
a141a47
..
d486b3f
100644
(file)
--- 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;