提交 872fab4a 编写于 作者: A Alexandra Hájková 提交者: Luca Barbato

asfdec: Fix reading from the pipe

Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册