From 0a3b044718501305ce7a536e5dc5f652498c31a7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 1 Apr 2004 19:16:24 +0000 Subject: [PATCH] pass frame_size for stream copy Originally committed as revision 2943 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) 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;