summaryrefslogtreecommitdiff
path: root/libavformat/img2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-11-12 22:49:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-12 22:49:55 +0000
commit4d4f7158eee5c515f624123a43073dbef2326001 (patch)
tree8b453ba567d8c4b3d1c59a2d09eb88e221cc34df /libavformat/img2.c
parente20815b3967bb00d26b9a0f80724e998b47e4f5a (diff)
downloadffmpeg-4d4f7158eee5c515f624123a43073dbef2326001.tar.gz
last packet size fix
Originally committed as revision 3673 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r--libavformat/img2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c
index f230891063..072a2f7f56 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -248,6 +248,7 @@ static int img_read_packet(AVFormatContext *s1, AVPacket *pkt)
av_free_packet(pkt);
return AVERROR_IO; /* signal EOF */
} else {
+ pkt->size = ret;
s->img_count++;
s->img_number++;
return 0;