Commit abeddb35 authored by bcoudurier's avatar bcoudurier

invert mode_mov condition

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13773 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d13f39c9
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment