pass frame_size for stream copy
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 1 Apr 2004 19:16:24 +0000 (19:16 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 1 Apr 2004 19:16:24 +0000 (19:16 +0000)
Originally committed as revision 2943 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index aaf688d..664ecf7 100644 (file)
--- 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;