diff options
-rw-r--r-- | libavformat/img2.c | 1 |
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; |