forked from FFmpeg/FFmpeg
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
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue