summaryrefslogtreecommitdiff
path: root/libavformat/mmf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mmf.c')
-rw-r--r--libavformat/mmf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index b8a9cad32e..1393627d8a 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -147,7 +147,7 @@ static int mmf_write_trailer(AVFormatContext *s)
int64_t pos, size;
int gatetime;
- if (s->pb->seekable) {
+ if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) {
/* Fill in length fields */
end_tag_be(pb, mmf->awapos);
end_tag_be(pb, mmf->atrpos);