From 9c09db541e29758486cb0a5006ab828db3dc6871 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier <baptiste.coudurier@gmail.com> Date: Wed, 10 May 2006 17:56:39 +0000 Subject: [PATCH] fix damr atom, needed for quicktime player Originally committed as revision 5358 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/movenc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index f59ea250d78..684a37790ea 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -218,10 +218,10 @@ static int mov_write_damr_tag(ByteIOContext *pb) put_tag(pb, "FFMP"); put_byte(pb, 0); - put_be16(pb, 0x80); /* Mode set (all modes for AMR_NB) */ - put_be16(pb, 0xa); /* Mode change period (no restriction) */ - //put_be16(pb, 0x81ff); /* Mode set (all modes for AMR_NB) */ - //put_be16(pb, 1); /* Mode change period (no restriction) */ + //put_be16(pb, 0x80); /* Mode set (all modes for AMR_NB) */ + //put_be16(pb, 0xa); /* Mode change period (no restriction) */ + put_be16(pb, 0x81ff); /* Mode set (all modes for AMR_NB) */ + put_be16(pb, 1); /* Mode change period (no restriction) */ return 0x11; } -- GitLab