diff options
Diffstat (limited to 'libavformat/mmf.c')
-rw-r--r-- | libavformat/mmf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c index 4605bf7fbd..fc6fcc3caa 100644 --- a/libavformat/mmf.c +++ b/libavformat/mmf.c @@ -133,7 +133,7 @@ static int mmf_write_trailer(AVFormatContext *s) int64_t pos, size; int gatetime; - if (!url_is_streamed(s->pb)) { + if (s->pb->seekable) { /* Fill in length fields */ end_tag_be(pb, mmf->awapos); end_tag_be(pb, mmf->atrpos); |