projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf2e7c
)
pcm_bluray: set bits_per_raw_sample for > 16-bit
author
Hendrik Leppkes
<h.leppkes@gmail.com>
Sun, 29 Apr 2012 17:21:55 +0000
(17:21 +0000)
committer
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Wed, 2 May 2012 00:59:09 +0000
(20:59 -0400)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/pcm-mpeg.c
patch
|
blob
|
history
diff --git
a/libavcodec/pcm-mpeg.c
b/libavcodec/pcm-mpeg.c
index
3604013
..
51a08d6
100644
(file)
--- a/
libavcodec/pcm-mpeg.c
+++ b/
libavcodec/pcm-mpeg.c
@@
-75,6
+75,7
@@
static int pcm_bluray_parse_header(AVCodecContext *avctx,
}
avctx->sample_fmt = avctx->bits_per_coded_sample == 16 ? AV_SAMPLE_FMT_S16 :
AV_SAMPLE_FMT_S32;
+ avctx->bits_per_raw_sample = avctx->bits_per_coded_sample;
/* get the sample rate. Not all values are known or exist. */
switch (header[2] & 0x0f) {