mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
asfdec: Fix reading from the pipe
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
67c884eb07
commit
872fab4a3d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user