---
libavformat/movenc.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 3916ba0..33d6014 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2094,13 +2094,12 @@ 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)
--
1.9.3
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel