diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-14 21:11:16 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-14 21:11:16 +0000 |
commit | d3e4783212ad7494fa089353954f2635a5fa036a (patch) | |
tree | a64696d3596d0eb23d353fedd56f72082a09e804 /libavformat | |
parent | 3473ca9a250f46d58e0d0e358ef9e5327f1e4f1d (diff) | |
download | ffmpeg-d3e4783212ad7494fa089353954f2635a5fa036a.tar.gz |
simplify
Originally committed as revision 13772 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index c2d34956e8..a99846d754 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1412,7 +1412,8 @@ static int mov_write_ftyp_tag(ByteIOContext *pb, AVFormatContext *s) 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"); @@ -1422,8 +1423,6 @@ static int mov_write_ftyp_tag(ByteIOContext *pb, AVFormatContext *s) put_tag(pb, "MSNV"); else if (mov->mode == MODE_MP4) put_tag(pb, "mp41"); - else if(mov->mode == MODE_MOV) - put_tag(pb, "qt "); return updateSize(pb, pos); } |