[FFmpeg-cvslog] r20139 - trunk/libavformat/wav.c

reimar subversion
Fri Oct 2 09:03:04 CEST 2009


Author: reimar
Date: Fri Oct  2 09:03:04 2009
New Revision: 20139

Log:
Remove useless setting of pkt->size, av_get_packet already handles that.

Modified:
   trunk/libavformat/wav.c

Modified: trunk/libavformat/wav.c
==============================================================================
--- trunk/libavformat/wav.c	Fri Oct  2 08:42:20 2009	(r20138)
+++ trunk/libavformat/wav.c	Fri Oct  2 09:03:04 2009	(r20139)
@@ -274,9 +274,6 @@ static int wav_read_packet(AVFormatConte
         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;
 }
 



More information about the ffmpeg-cvslog mailing list