aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-12 21:09:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-12 21:23:18 +0200
commit70e9308decc266da9d65851725c831e8dadd969e (patch)
tree902a331ad2a9f8f6b1ff252121822837476d218d /ffmpeg.c
parentbe062de9d41bc60b7cd93200451c121388e0e97f (diff)
downloadffmpeg-70e9308decc266da9d65851725c831e8dadd969e.tar.gz
ffmpeg: preserve bits_per_coded sample on stream copy.
Fixes Ticket1124 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 926ebe27c7..02efdf48c3 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3033,6 +3033,7 @@ static int transcode_init(void)
}
memcpy(codec->extradata, icodec->extradata, icodec->extradata_size);
codec->extradata_size= icodec->extradata_size;
+ codec->bits_per_coded_sample = icodec->bits_per_coded_sample;
codec->time_base = ist->st->time_base;
/*