aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-05-10 17:56:39 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-05-10 17:56:39 +0000
commit9c09db541e29758486cb0a5006ab828db3dc6871 (patch)
tree66379d1c5109f7bd773e3b045cc799f0b0f10b6d
parent415d10d0a500dabbdd9b83ef979f99cd5e9affc7 (diff)
downloadffmpeg-9c09db541e29758486cb0a5006ab828db3dc6871.tar.gz
fix damr atom, needed for quicktime player
Originally committed as revision 5358 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/movenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index f59ea250d7..684a37790e 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;
}