Mercurial > libavformat.hg
comparison movenc.c @ 1073:61acaf09a437 libavformat
fix damr atom, needed for quicktime player
author | bcoudurier |
---|---|
date | Wed, 10 May 2006 17:56:39 +0000 |
parents | 172781cd7c9d |
children | 829b55eb168c |
comparison
equal
deleted
inserted
replaced
1072:a06dd48eaba8 | 1073:61acaf09a437 |
---|---|
216 put_be32(pb, 0x11); /* size */ | 216 put_be32(pb, 0x11); /* size */ |
217 put_tag(pb, "damr"); | 217 put_tag(pb, "damr"); |
218 put_tag(pb, "FFMP"); | 218 put_tag(pb, "FFMP"); |
219 put_byte(pb, 0); | 219 put_byte(pb, 0); |
220 | 220 |
221 put_be16(pb, 0x80); /* Mode set (all modes for AMR_NB) */ | 221 //put_be16(pb, 0x80); /* Mode set (all modes for AMR_NB) */ |
222 put_be16(pb, 0xa); /* Mode change period (no restriction) */ | 222 //put_be16(pb, 0xa); /* Mode change period (no restriction) */ |
223 //put_be16(pb, 0x81ff); /* Mode set (all modes for AMR_NB) */ | 223 put_be16(pb, 0x81ff); /* Mode set (all modes for AMR_NB) */ |
224 //put_be16(pb, 1); /* Mode change period (no restriction) */ | 224 put_be16(pb, 1); /* Mode change period (no restriction) */ |
225 return 0x11; | 225 return 0x11; |
226 } | 226 } |
227 | 227 |
228 static int mov_write_wave_tag(ByteIOContext *pb, MOVTrack* track) | 228 static int mov_write_wave_tag(ByteIOContext *pb, MOVTrack* track) |
229 { | 229 { |