fix damr atom, needed for quicktime player

Originally committed as revision 5358 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2006-05-10 17:56:39 +00:00
parent 415d10d0a5
commit 9c09db541e

View File

@ -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;
}