fix mp3 muxing

Originally committed as revision 5472 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2006-06-13 14:38:44 +00:00
parent 329b1e755e
commit 543eebd568

View File

@ -361,6 +361,7 @@ static int mov_write_audio_tag(ByteIOContext *pb, MOVTrack* track)
offset_t pos = url_ftell(pb); offset_t pos = url_ftell(pb);
int version = track->mode == MODE_MOV && int version = track->mode == MODE_MOV &&
(track->enc->codec_id == CODEC_ID_AAC || (track->enc->codec_id == CODEC_ID_AAC ||
track->enc->codec_id == CODEC_ID_MP3 ||
track->enc->codec_id == CODEC_ID_PCM_S32LE || track->enc->codec_id == CODEC_ID_PCM_S32LE ||
track->enc->codec_id == CODEC_ID_PCM_S24LE); track->enc->codec_id == CODEC_ID_PCM_S24LE);