mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-12 18:31:37 +00: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);
|
size, asf->nb_packets);
|
||||||
avio_skip(pb, 2); // skip reserved field
|
avio_skip(pb, 2); // skip reserved field
|
||||||
asf->first_packet_offset = avio_tell(pb);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user