[FFmpeg-cvslog] r13773 - trunk/libavformat/movenc.c
bcoudurier
subversion
Sat Jun 14 23:12:51 CEST 2008
Author: bcoudurier
Date: Sat Jun 14 23:12:51 2008
New Revision: 13773
Log:
invert mode_mov condition
Modified:
trunk/libavformat/movenc.c
Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c (original)
+++ trunk/libavformat/movenc.c Sat Jun 14 23:12:51 2008
@@ -1407,13 +1407,14 @@ static int mov_write_ftyp_tag(ByteIOCont
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");
More information about the ffmpeg-cvslog
mailing list