changeset 585:10ad229f9d00 libavformat

last packet size fix
author michael
date Fri, 12 Nov 2004 22:49:55 +0000
parents 4e3bab6555ae
children d31051b85c3d
files img2.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/img2.c	Fri Nov 12 01:32:35 2004 +0000
+++ b/img2.c	Fri Nov 12 22:49:55 2004 +0000
@@ -248,6 +248,7 @@
         av_free_packet(pkt);
         return AVERROR_IO; /* signal EOF */
     } else {
+        pkt->size = ret;
         s->img_count++;
         s->img_number++;
         return 0;