[FFmpeg-cvslog] au: do not set pkt->size directly

Justin Ruggles git at videolan.org
Thu Jan 10 10:56:49 CET 2013


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sun Dec 23 13:21:27 2012 -0500| [2613de88051818abafccb98646394341887acb3a] | committer: Justin Ruggles

au: do not set pkt->size directly

It is already set by av_get_packet() even for partial reads.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2613de88051818abafccb98646394341887acb3a
---

 libavformat/au.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavformat/au.c b/libavformat/au.c
index fcc599b..fb35a9a 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -130,9 +130,6 @@ static int au_read_packet(AVFormatContext *s,
         return ret;
     pkt->stream_index = 0;
 
-    /* note: we need to modify the packet size here to handle the last
-       packet */
-    pkt->size = ret;
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list