Commit bcbd328e authored by Michael Niedermayer's avatar Michael Niedermayer

Make stream copy of ac3 from riff based formats work.

Originally committed as revision 13408 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b2677aa2
......@@ -1677,6 +1677,8 @@ static int av_encode(AVFormatContext **output_files,
codec->block_align= icodec->block_align;
if(codec->block_align == 1 && codec->codec_id == CODEC_ID_MP3)
codec->block_align= 0;
if(codec->codec_id == CODEC_ID_AC3)
codec->block_align= 0;
break;
case CODEC_TYPE_VIDEO:
if(using_vhook) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment