au: do not set pkt->size directly

It is already set by av_get_packet() even for partial reads.
This commit is contained in:
Justin Ruggles 2012-12-23 13:21:27 -05:00
parent bd4cdef5a8
commit 2613de8805

View File

@ -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;
}