changeset 5256:9f0e36645518 libavformat

Remove useless setting of pkt->size, av_get_packet already handles that.
author reimar
date Fri, 02 Oct 2009 07:03:04 +0000
parents 6a23d76cc72c
children 7843c502822b
files wav.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/wav.c	Fri Oct 02 06:42:20 2009 +0000
+++ b/wav.c	Fri Oct 02 07:03:04 2009 +0000
@@ -274,9 +274,6 @@
         return AVERROR(EIO);
     pkt->stream_index = 0;
 
-    /* note: we need to modify the packet size here to handle the last
-       packet */
-    pkt->size = ret;
     return ret;
 }