Commit bf032bb8 authored by michael's avatar michael

copy extradata for streamcopy


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4077 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d165a8d2
......@@ -1538,6 +1538,8 @@ static int av_encode(AVFormatContext **output_files,
codec->codec_type = icodec->codec_type;
if(!codec->codec_tag) codec->codec_tag = icodec->codec_tag;
codec->bit_rate = icodec->bit_rate;
codec->extradata= icodec->extradata;
codec->extradata_size= icodec->extradata_size;
switch(codec->codec_type) {
case CODEC_TYPE_AUDIO:
codec->sample_rate = icodec->sample_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