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:
Alexandra Hájková 2015-07-22 16:10:25 +02:00 committed by Anton Khirnov
parent ae5a8dca67
commit 7f388c0fab
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }