Commit 0a3b0447 authored by Michael Niedermayer's avatar Michael Niedermayer

pass frame_size for stream copy

Originally committed as revision 2943 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2f996b83
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment