Skip to content
Snippets Groups Projects
Commit dffbfd06 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

copy extradata for streamcopy

Originally committed as revision 4077 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b691166c
Branches
Tags
No related merge requests found
...@@ -1538,6 +1538,8 @@ static int av_encode(AVFormatContext **output_files, ...@@ -1538,6 +1538,8 @@ static int av_encode(AVFormatContext **output_files,
codec->codec_type = icodec->codec_type; codec->codec_type = icodec->codec_type;
if(!codec->codec_tag) codec->codec_tag = icodec->codec_tag; if(!codec->codec_tag) codec->codec_tag = icodec->codec_tag;
codec->bit_rate = icodec->bit_rate; codec->bit_rate = icodec->bit_rate;
codec->extradata= icodec->extradata;
codec->extradata_size= icodec->extradata_size;
switch(codec->codec_type) { switch(codec->codec_type) {
case CODEC_TYPE_AUDIO: case CODEC_TYPE_AUDIO:
codec->sample_rate = icodec->sample_rate; codec->sample_rate = icodec->sample_rate;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment