[FFmpeg-cvslog] r13408 - trunk/ffmpeg.c
michael
subversion
Mon May 26 02:47:49 CEST 2008
Author: michael
Date: Mon May 26 02:47:49 2008
New Revision: 13408
Log:
Make stream copy of ac3 from riff based formats work.
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Mon May 26 02:47:49 2008
@@ -1677,6 +1677,8 @@ static int av_encode(AVFormatContext **o
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) {
More information about the ffmpeg-cvslog
mailing list