[Ffmpeg-cvslog] r5948 - trunk/libavformat/movenc.c
bcoudurier
subversion
Mon Aug 7 16:15:05 CEST 2006
Author: bcoudurier
Date: Mon Aug 7 16:15:05 2006
New Revision: 5948
Modified:
trunk/libavformat/movenc.c
Log:
sampleSize field to 16, reserved for mp4 and 3gp
Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c (original)
+++ trunk/libavformat/movenc.c Mon Aug 7 16:15:05 2006
@@ -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) */
More information about the ffmpeg-cvslog
mailing list