diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-12 23:09:32 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-12 23:23:18 +0400 |
commit | 70e9308decc266da9d65851725c831e8dadd969e (patch) | |
tree | 902a331ad2a9f8f6b1ff252121822837476d218d /ffmpeg.c | |
parent | be062de9d41bc60b7cd93200451c121388e0e97f (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; /* |