Mercurial > libavformat.hg
changeset 1237:fbe88f238d0d libavformat
sampleSize field to 16, reserved for mp4 and 3gp
author | bcoudurier |
---|---|
date | Mon, 07 Aug 2006 14:15:05 +0000 |
parents | a2cc205d79f1 |
children | eb749ae2b181 |
files | movenc.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Mon Aug 07 14:11:17 2006 +0000 +++ b/movenc.c Mon Aug 07 14:15:05 2006 +0000 @@ -361,9 +361,8 @@ put_be32(pb, 0); /* Reserved */ put_be16(pb, track->mode == MODE_MOV ? track->enc->channels : 2); /* Number of channels */ - /* TODO: Currently hard-coded to 16-bit, there doesn't seem - to be a good way to get number of bits of audio */ - put_be16(pb, 0x10); /* Reserved */ + /* FIXME 8 bit for 'raw ' in mov */ + put_be16(pb, 16); /* Reserved */ put_be16(pb, vbr ? 0xfffe : 0); /* compression ID */ put_be16(pb, 0); /* packet size (= 0) */