diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-08-24 10:32:09 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-08-24 10:32:09 +0000 |
commit | 5340a0bc9c96114bd6b2bb2b79a3e8453435ce0a (patch) | |
tree | abc384b603071cbb09d0fb8f34ca05909b17cb4c /libavformat/movenc.c | |
parent | b95319a2f2708ae1a805acbf5f4c32f6d820dfa0 (diff) | |
download | ffmpeg-5340a0bc9c96114bd6b2bb2b79a3e8453435ce0a.tar.gz |
wide atom is only defined in mov, use free for mp4/3gp
Originally committed as revision 6072 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index de6c76003d..b63e8288ee 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1332,7 +1332,7 @@ static int mov_write_moov_tag(ByteIOContext *pb, MOVContext *mov, static int mov_write_mdat_tag(ByteIOContext *pb, MOVContext* mov) { put_be32(pb, 8); // placeholder for extended size field (64 bit) - put_tag(pb, "wide"); + put_tag(pb, mov->mode == MODE_MOV ? "wide" : "free"); mov->mdat_pos = url_ftell(pb); put_be32(pb, 0); /* size placeholder*/ |