last packet size fix

Originally committed as revision 3673 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-11-12 22:49:55 +00:00
parent e20815b396
commit 4d4f7158ee
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ static int img_read_packet(AVFormatContext *s1, AVPacket *pkt)
av_free_packet(pkt); av_free_packet(pkt);
return AVERROR_IO; /* signal EOF */ return AVERROR_IO; /* signal EOF */
} else { } else {
pkt->size = ret;
s->img_count++; s->img_count++;
s->img_number++; s->img_number++;
return 0; return 0;