au: do not set pkt->size directly
It is already set by av_get_packet() even for partial reads.
This commit is contained in:
parent
bd4cdef5a8
commit
2613de8805
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user