aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorJohn Stebbins <stebbins@jetheaddev.com>2014-08-06 07:42:18 -0700
committerJohn Stebbins <stebbins@jetheaddev.com>2014-08-06 13:27:17 -0700
commitd9432789bd119f0e37bcf65cebda05d36aafd4ed (patch)
tree788abc53d360f5e21f67521f10b041d33d539d6f /libavformat
parent7b588bb691644e1b3c168b99accf74248a24e3cf (diff)
downloadffmpeg-d9432789bd119f0e37bcf65cebda05d36aafd4ed.tar.gz
movenc: remove pointless loop around BITEXACT test
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 73a78d8010..a2d473985a 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2041,13 +2041,11 @@ static int mov_write_udta_tag(AVIOContext *pb, MOVMuxContext *mov,
AVFormatContext *s)
{
AVIOContext *pb_buf;
- int i, ret, size;
+ int ret, size;
uint8_t *buf;
- for (i = 0; i < s->nb_streams; i++)
- if (s->flags & AVFMT_FLAG_BITEXACT) {
- return 0;
- }
+ if (s->flags & AVFMT_FLAG_BITEXACT)
+ return 0;
ret = avio_open_dyn_buf(&pb_buf);
if (ret < 0)