Commit 4d4f7158 authored by Michael Niedermayer's avatar Michael Niedermayer

last packet size fix

Originally committed as revision 3673 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e20815b3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment