OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65cff81
)
avcodec/dvaudiodec: now that we got samples, fix 12bit case
author
Paul B Mahol
<onemda@gmail.com>
Wed, 23 Mar 2016 08:26:35 +0000
(09:26 +0100)
committer
Paul B Mahol
<onemda@gmail.com>
Wed, 23 Mar 2016 08:32:34 +0000
(09:32 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/dvaudiodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/dvaudiodec.c
b/libavcodec/dvaudiodec.c
index
faa9e5f
..
5aa2a95
100644
(file)
--- a/
libavcodec/dvaudiodec.c
+++ b/
libavcodec/dvaudiodec.c
@@
-52,7
+52,7
@@
static av_cold int decode_init(AVCodecContext *avctx)
}
s->is_pal = s->block_size == 8640;
- s->is_12bit = avctx->bits_per_
raw
_sample == 12;
+ s->is_12bit = avctx->bits_per_
coded
_sample == 12;
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
avctx->channel_layout = AV_CH_LAYOUT_STEREO;