aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-12 00:32:16 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-12 00:38:22 +0100
commit3b1f037df56b483f64c57c5d95369f461d99a4fa (patch)
treee7659c42c18d59cef36d912ce1335b0378ee1735 /ffmpeg.c
parent64353be81135f57b5bb817a7d117c90f4942affd (diff)
downloadffmpeg-3b1f037df56b483f64c57c5d95369f461d99a4fa.tar.gz
ffmpeg: fix streamcopy of lsf mp3.
Fixes streamcopy of bear_mpeg4_mp3.avi Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index bda7610800..6817f9cca7 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2206,7 +2206,7 @@ static int transcode_init(void)
codec->frame_size = icodec->frame_size;
codec->audio_service_type = icodec->audio_service_type;
codec->block_align = icodec->block_align;
- if((codec->block_align == 1 || codec->block_align == 1152) && codec->codec_id == AV_CODEC_ID_MP3)
+ if((codec->block_align == 1 || codec->block_align == 1152 || codec->block_align == 576) && codec->codec_id == AV_CODEC_ID_MP3)
codec->block_align= 0;
if(codec->codec_id == AV_CODEC_ID_AC3)
codec->block_align= 0;