diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-02 07:03:04 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-02 07:03:04 +0000 |
commit | 8a62a378de2f762e19dbb1ab5d5d27dafa833ee8 (patch) | |
tree | 42c727ff9f5c806d5d9261956c33ccf98e8ce8fd | |
parent | a7a9dd0eb642e5291c0ba672c6f17c870c5921a0 (diff) | |
download | ffmpeg-8a62a378de2f762e19dbb1ab5d5d27dafa833ee8.tar.gz |
Remove useless setting of pkt->size, av_get_packet already handles that.
Originally committed as revision 20139 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/wav.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c index f9163b46ee..081eb78698 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -274,9 +274,6 @@ static int wav_read_packet(AVFormatContext *s, 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; } |