aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-12-23 13:21:27 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2013-01-09 11:52:57 -0500
commit2613de88051818abafccb98646394341887acb3a (patch)
treea83e9e29ff0cf5f9b8b921c80f30623ae0209ac4
parentbd4cdef5a8ca0389f8266a172988bd74aaaf4c77 (diff)
downloadffmpeg-2613de88051818abafccb98646394341887acb3a.tar.gz
au: do not set pkt->size directly
It is already set by av_get_packet() even for partial reads.
-rw-r--r--libavformat/au.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/au.c b/libavformat/au.c
index fcc599ba96..fb35a9a613 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;
}