summaryrefslogtreecommitdiff
path: root/libavformat/nutdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r--libavformat/nutdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 2e309bcad7..ca34e35f74 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -876,7 +876,7 @@ static int nut_read_header(AVFormatContext *s)
s->internal->data_offset = pos - 8;
- if (bc->seekable) {
+ if (bc->seekable & AVIO_SEEKABLE_NORMAL) {
int64_t orig_pos = avio_tell(bc);
find_and_decode_index(nut);
avio_seek(bc, orig_pos, SEEK_SET);