aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-23 12:44:56 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-23 12:45:00 +0200
commit0a03271ef64d67a5de0dd5dc4e12fe6503f46acb (patch)
treeedc197381655854062ce07b630ea0468e0ed5117 /libavformat
parentb04b021005508e190ad02b66106c2c611b404a72 (diff)
parent7f388c0fabc51eca3106e7cc443393269435ab52 (diff)
downloadffmpeg-0a03271ef64d67a5de0dd5dc4e12fe6503f46acb.tar.gz
Merge commit '7f388c0fabc51eca3106e7cc443393269435ab52'
* commit '7f388c0fabc51eca3106e7cc443393269435ab52': asfdec: remove the wrong condition Merged-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/asfdec_o.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec_o.c b/libavformat/asfdec_o.c
index 3185a207a3..bd723772e2 100644
--- a/libavformat/asfdec_o.c
+++ b/libavformat/asfdec_o.c
@@ -905,7 +905,7 @@ static int asf_read_data(AVFormatContext *s, const GUIDParseTable *g)
uint64_t size = asf->data_size = avio_rl64(pb);
int i;
- if (!asf->data_reached && pb->seekable) {
+ if (!asf->data_reached) {
asf->data_reached = 1;
asf->data_offset = asf->offset;
}