Mercurial > libavformat.hg
changeset 3475:654b3aa1cab4 libavformat
invert mode_mov condition
author | bcoudurier |
---|---|
date | Sat, 14 Jun 2008 21:12:51 +0000 |
parents | f4f6a7234040 |
children | 3026020083e8 |
files | movenc.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Sat Jun 14 21:11:16 2008 +0000 +++ b/movenc.c Sat Jun 14 21:12:51 2008 +0000 @@ -1407,13 +1407,14 @@ put_be32(pb, 0x200); - if(mov->mode != MODE_MOV){ + if(mov->mode == MODE_MOV) + put_tag(pb, "qt "); + else{ put_tag(pb, "isom"); put_tag(pb, "iso2"); if(has_h264) put_tag(pb, "avc1"); - }else - put_tag(pb, "qt "); + } if (mov->mode == MODE_3GP) put_tag(pb, has_h264 ? "3gp6":"3gp4");