diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-08-07 14:06:23 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-08-07 14:06:23 +0000 |
commit | c096ebca48e5c4c55fe838ac3cd7e5b6ac812054 (patch) | |
tree | 9dbca2406082f4d849fc5c334cfc13b103677c78 /libavformat | |
parent | 30aee296eafafec4b041b21acb78fb0b9e57f9f2 (diff) | |
download | ffmpeg-c096ebca48e5c4c55fe838ac3cd7e5b6ac812054.tar.gz |
vbr compression id is only used in mov
Originally committed as revision 5945 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index de9b4a5f25..e214c23a92 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -341,13 +341,13 @@ static const CodecTag codec_movaudio_tags[] = { 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 |