Originally committed as revision 9880 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2007/08/04 08:23:42... | ... |
@@ -1527,6 +1527,8 @@ static int av_encode(AVFormatContext **output_files, |
1527 | 1527 |
codec->channels = icodec->channels; |
1528 | 1528 |
codec->frame_size = icodec->frame_size; |
1529 | 1529 |
codec->block_align= icodec->block_align; |
1530 |
+ if(codec->block_align == 1 && codec->codec_id == CODEC_ID_MP3) |
|
1531 |
+ codec->block_align= 0; |
|
1530 | 1532 |
break; |
1531 | 1533 |
case CODEC_TYPE_VIDEO: |
1532 | 1534 |
if(using_vhook) { |