# HG changeset patch # User bcoudurier # Date 1154959583 0 # Node ID 765ab959c70d27512d4e7171e06e4835030c5248 # Parent 99a34915d15ae89992b5634e83aaaf5cb6d54027 vbr compression id is only used in mov diff -r 99a34915d15a -r 765ab959c70d movenc.c --- a/movenc.c Sun Aug 06 15:29:50 2006 +0000 +++ b/movenc.c Mon Aug 07 14:06:23 2006 +0000 @@ -341,13 +341,13 @@ static int mov_write_audio_tag(ByteIOContext *pb, MOVTrack* track) { offset_t pos = url_ftell(pb); - int vbr= track->enc->codec_id == CODEC_ID_AAC || - track->enc->codec_id == CODEC_ID_MP3 || - track->enc->codec_id == CODEC_ID_AMR_NB; - int version = track->mode == MODE_MOV && - (vbr || - track->enc->codec_id == CODEC_ID_PCM_S32LE || - track->enc->codec_id == CODEC_ID_PCM_S24LE); + int vbr= track->mode == MODE_MOV && + (track->enc->codec_id == CODEC_ID_AAC || + track->enc->codec_id == CODEC_ID_MP3 || + track->enc->codec_id == CODEC_ID_AMR_NB); + int version = vbr || + track->enc->codec_id == CODEC_ID_PCM_S32LE || + track->enc->codec_id == CODEC_ID_PCM_S24LE; put_be32(pb, 0); /* size */ put_le32(pb, track->tag); // store it byteswapped