[FFmpeg-cvslog] ffmpeg: preserve bits_per_coded sample on stream copy.

Michael Niedermayer git at videolan.org
Sat May 12 21:23:35 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May 12 21:09:32 2012 +0200| [70e9308decc266da9d65851725c831e8dadd969e] | committer: Michael Niedermayer

ffmpeg: preserve bits_per_coded sample on stream copy.

Fixes Ticket1124

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=70e9308decc266da9d65851725c831e8dadd969e
---

 ffmpeg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 926ebe2..02efdf4 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;
             /*



More information about the ffmpeg-cvslog mailing list