aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tiffenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-28 11:33:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-28 11:33:28 +0000
commite2d09b65e8166d6f3880bdf7195069e09d470a99 (patch)
tree8361c1bb427d7d3fe4dfc8f85af043e15099d34f /libavcodec/tiffenc.c
parentbf1310c7b10decb50ce32ff0d2ae44fafc0e1740 (diff)
downloadffmpeg-e2d09b65e8166d6f3880bdf7195069e09d470a99.tar.gz
set coded_frame
Originally committed as revision 13492 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/tiffenc.c')
-rw-r--r--libavcodec/tiffenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index c2b942f1d9..1ec27efe20 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -222,6 +222,7 @@ static int encode_frame(AVCodecContext * avctx, unsigned char *buf,
*p = *pict;
p->pict_type = FF_I_TYPE;
p->key_frame = 1;
+ avctx->coded_frame= &s->picture;
s->compr = TIFF_PACKBITS;
if (avctx->compression_level == 0) {