summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-06-13 14:38:44 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-06-13 14:38:44 +0000
commit543eebd56884b3b95567a5cceac5d9798c7af0a9 (patch)
treeb9e9b2475a5e17fa06b57c2ee8d668e06d2a90c9
parent329b1e755e9a0bfa9db0aed2b13457e3ca8d6ad8 (diff)
fix mp3 muxing
Originally committed as revision 5472 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/movenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index ee5245066c..9d1da5fdeb 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -361,6 +361,7 @@ static int mov_write_audio_tag(ByteIOContext *pb, MOVTrack* track)
offset_t pos = url_ftell(pb);
int version = track->mode == MODE_MOV &&
(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_S24LE);