Module: libav Branch: master Commit: 2613de88051818abafccb98646394341887acb3a
Author: Justin Ruggles <[email protected]> Committer: Justin Ruggles <[email protected]> Date: Sun Dec 23 13:21:27 2012 -0500 au: do not set pkt->size directly It is already set by av_get_packet() even for partial reads. --- libavformat/au.c | 3 --- 1 files changed, 0 insertions(+), 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; } _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
