Commit 75500063 authored by bcoudurier's avatar bcoudurier

mp4, 3gp field is reserved and value is 2

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5947 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent adb4e5b2
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment