summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index b3a7649454..adcbcf2c0f 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3872,7 +3872,7 @@ static int mov_write_header(AVFormatContext *s)
}
for (i = 0; i < s->nb_streams; i++)
- if (s->streams[i]->codec->flags & CODEC_FLAG_BITEXACT)
+ if (s->flags & AVFMT_FLAG_BITEXACT)
mov->exact = 1;
/* Set the FRAGMENT flag if any of the fragmentation methods are