summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-04-01 19:16:24 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-01 19:16:24 +0000
commit0a3b044718501305ce7a536e5dc5f652498c31a7 (patch)
tree7e17016c680fda4a29bd1df5f52997583c57e584 /ffmpeg.c
parent2f996b8397ee0e646a824f3dfcbd291a114af348 (diff)
pass frame_size for stream copy
Originally committed as revision 2943 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index aaf688d81f..664ecf794d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1202,6 +1202,7 @@ static int av_encode(AVFormatContext **output_files,
case CODEC_TYPE_AUDIO:
codec->sample_rate = icodec->sample_rate;
codec->channels = icodec->channels;
+ codec->frame_size = icodec->frame_size;
break;
case CODEC_TYPE_VIDEO:
codec->frame_rate = icodec->frame_rate;