projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b588bb
)
movenc: remove pointless loop around BITEXACT test
author
John Stebbins
<stebbins@jetheaddev.com>
Wed, 6 Aug 2014 14:42:18 +0000
(07:42 -0700)
committer
John Stebbins
<stebbins@jetheaddev.com>
Wed, 6 Aug 2014 20:27:17 +0000
(13:27 -0700)
libavformat/movenc.c
patch
|
blob
|
history
diff --git
a/libavformat/movenc.c
b/libavformat/movenc.c
index
73a78d8
..
a2d4739
100644
(file)
--- 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)