Browse Source

movenc: remove pointless loop around BITEXACT test

tags/n2.4
John Stebbins 11 years ago
parent
commit
d9432789bd
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      libavformat/movenc.c

+ 3
- 5
libavformat/movenc.c View File

@@ -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)


Loading…
Cancel
Save