diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-08-03 23:23:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-08-03 23:23:42 +0000 |
commit | 4efd6f58b64c4b4187ac7ee65162b94106272295 (patch) | |
tree | 1f5a9814606b86dcdd23a4b459e22ea361762996 /ffmpeg.c | |
parent | 80c24d9908097e92a8c97a81c6d954058504911c (diff) | |
download | ffmpeg-4efd6f58b64c4b4187ac7ee65162b94106272295.tar.gz |
fix block_align for mp3 stream copy
Originally committed as revision 9880 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1527,6 +1527,8 @@ static int av_encode(AVFormatContext **output_files, codec->channels = icodec->channels; codec->frame_size = icodec->frame_size; codec->block_align= icodec->block_align; + if(codec->block_align == 1 && codec->codec_id == CODEC_ID_MP3) + codec->block_align= 0; break; case CODEC_TYPE_VIDEO: if(using_vhook) { |