summaryrefslogtreecommitdiff
path: root/libavformat/id3v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/id3v1.c')
-rw-r--r--libavformat/id3v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/id3v1.c b/libavformat/id3v1.c
index 365c3e0fab..37d46956ef 100644
--- a/libavformat/id3v1.c
+++ b/libavformat/id3v1.c
@@ -229,7 +229,7 @@ void ff_id3v1_read(AVFormatContext *s)
uint8_t buf[ID3v1_TAG_SIZE];
int64_t filesize, position = avio_tell(s->pb);
- if (!url_is_streamed(s->pb)) {
+ if (s->pb->seekable) {
/* XXX: change that */
filesize = avio_size(s->pb);
if (filesize > 128) {