Commit 2613de88 authored by Justin Ruggles's avatar Justin Ruggles

au: do not set pkt->size directly

It is already set by av_get_packet() even for partial reads.
parent bd4cdef5
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment