aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-03-24 01:47:45 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-03-24 01:47:45 +0000
commitdffbfd06e4a554cf222e7a6f4f1f9f34a0645417 (patch)
treebd5aebc33fd043e16b9d7d39d88149a7e7767d26 /ffmpeg.c
parentb691166c0f1956280105d8dc2abe7f3321728f46 (diff)
downloadffmpeg-dffbfd06e4a554cf222e7a6f4f1f9f34a0645417.tar.gz
copy extradata for streamcopy
Originally committed as revision 4077 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index ebe2400574..fb9f242fe3 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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;