From 2613de88051818abafccb98646394341887acb3a Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sun, 23 Dec 2012 13:21:27 -0500 Subject: au: do not set pkt->size directly It is already set by av_get_packet() even for partial reads. --- libavformat/au.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavformat/au.c') 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; } -- cgit v1.2.3