summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-07 02:35:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-07 02:35:39 +0200
commit71f33051e5d012ccf24d447ba7c01a867f8e77c1 (patch)
tree25b96b42c0a4aa63d2530750673ea471e683f227 /libavformat/movenc.c
parent4213fc5b9eebec53c7d22b770c3f1ceecca1c113 (diff)
parentd9432789bd119f0e37bcf65cebda05d36aafd4ed (diff)
Merge commit 'd9432789bd119f0e37bcf65cebda05d36aafd4ed'
* commit 'd9432789bd119f0e37bcf65cebda05d36aafd4ed': movenc: remove pointless loop around BITEXACT test Conflicts: libavformat/movenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 27e9f1a150..9e34e0a09a 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3909,9 +3909,8 @@ static int mov_write_header(AVFormatContext *s)
else if (!strcmp("f4v", s->oformat->name)) mov->mode = MODE_F4V;
}
- for (i = 0; i < s->nb_streams; i++)
- if (s->flags & AVFMT_FLAG_BITEXACT)
- mov->exact = 1;
+ if (s->flags & AVFMT_FLAG_BITEXACT)
+ mov->exact = 1;
/* Set the FRAGMENT flag if any of the fragmentation methods are
* enabled. */