Commit cbb01e54 authored by michael's avatar michael

Make stream copy of ac3 from riff based formats work.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13408 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cabb47df
...@@ -1677,6 +1677,8 @@ static int av_encode(AVFormatContext **output_files, ...@@ -1677,6 +1677,8 @@ static int av_encode(AVFormatContext **output_files,
codec->block_align= icodec->block_align; codec->block_align= icodec->block_align;
if(codec->block_align == 1 && codec->codec_id == CODEC_ID_MP3) if(codec->block_align == 1 && codec->codec_id == CODEC_ID_MP3)
codec->block_align= 0; codec->block_align= 0;
if(codec->codec_id == CODEC_ID_AC3)
codec->block_align= 0;
break; break;
case CODEC_TYPE_VIDEO: case CODEC_TYPE_VIDEO:
if(using_vhook) { 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