1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

invert mode_mov condition

Originally committed as revision 13773 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2008-06-14 21:12:51 +00:00
parent d3e4783212
commit 6ba9ed9557

View File

@ -1407,13 +1407,14 @@ static int mov_write_ftyp_tag(ByteIOContext *pb, AVFormatContext *s)
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");