mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-03 18:53:13 +00:00
fix block_align for mp3 stream copy
Originally committed as revision 9880 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
80c24d9908
commit
4efd6f58b6
2
ffmpeg.c
2
ffmpeg.c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user