You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
asfdec: remove the wrong condition
this condition breaks reading from the pipe as data_reached variable have to be set to break while in the asf_read_header just after the Data Object is found Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
committed by
Anton Khirnov
parent
ae5a8dca67
commit
7f388c0fab
@@ -905,7 +905,7 @@ static int asf_read_data(AVFormatContext *s, const GUIDParseTable *g)
|
|||||||
uint64_t size = asf->data_size = avio_rl64(pb);
|
uint64_t size = asf->data_size = avio_rl64(pb);
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (!asf->data_reached && pb->seekable) {
|
if (!asf->data_reached) {
|
||||||
asf->data_reached = 1;
|
asf->data_reached = 1;
|
||||||
asf->data_offset = asf->offset;
|
asf->data_offset = asf->offset;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user