[Ffmpeg-cvslog] r5945 - trunk/libavformat/movenc.c
bcoudurier
subversion
Mon Aug 7 16:06:23 CEST 2006
Author: bcoudurier
Date: Mon Aug 7 16:06:23 2006
New Revision: 5945
Modified:
trunk/libavformat/movenc.c
Log:
vbr compression id is only used in mov
Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c (original)
+++ trunk/libavformat/movenc.c Mon Aug 7 16:06:23 2006
@@ -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
More information about the ffmpeg-cvslog
mailing list