diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-05-26 00:47:49 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-05-26 00:47:49 +0000 |
commit | bcbd328e173de259d221924778be992efe3961dd (patch) | |
tree | 57502fd185b438b753284e15fa09a6fbad678794 /ffmpeg.c | |
parent | b2677aa2a1e3a76f9281baebfeb4377e8b4392b9 (diff) | |
download | ffmpeg-bcbd328e173de259d221924778be992efe3961dd.tar.gz |
Make stream copy of ac3 from riff based formats work.
Originally committed as revision 13408 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
@@ -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) { |