1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

mp4, 3gp field is reserved and value is 2

Originally committed as revision 5947 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2006-08-07 14:11:17 +00:00
parent 57ef6acc39
commit 86ca5710bb

View File

@ -360,7 +360,7 @@ static int mov_write_audio_tag(ByteIOContext *pb, MOVTrack* track)
put_be16(pb, 0); /* Revision level */
put_be32(pb, 0); /* Reserved */
put_be16(pb, track->enc->channels); /* Number of channels */
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 */