mirror of https://git.ffmpeg.org/ffmpeg.git
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:
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue