Commit 872fab4a authored by Alexandra Hájková's avatar Alexandra Hájková Committed by Luca Barbato

asfdec: Fix reading from the pipe

Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 67c884eb
......@@ -922,7 +922,8 @@ static int asf_read_data(AVFormatContext *s, const GUIDParseTable *g)
size, asf->nb_packets);
avio_skip(pb, 2); // skip reserved field
asf->first_packet_offset = avio_tell(pb);
align_position(pb, asf->offset, asf->data_size);
if (pb->seekable)
align_position(pb, asf->offset, asf->data_size);
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