projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2677aa
)
Make stream copy of ac3 from riff based formats work.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 26 May 2008 00:47:49 +0000
(
00:47
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 26 May 2008 00:47:49 +0000
(
00:47
+0000)
Originally committed as revision 13408 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
ec9117a
..
ab83b3e
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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) {