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:
196cfc2
)
avcodec/apedec: fix decoding of stereo files with one channel full of silence
author
Paul B Mahol
<onemda@gmail.com>
Tue, 12 Apr 2016 08:51:30 +0000
(10:51 +0200)
committer
Paul B Mahol
<onemda@gmail.com>
Tue, 12 Apr 2016 09:03:48 +0000
(11:03 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/apedec.c
patch
|
blob
|
history
diff --git
a/libavcodec/apedec.c
b/libavcodec/apedec.c
index
bed9a96
..
de9d71c
100644
(file)
--- a/
libavcodec/apedec.c
+++ b/
libavcodec/apedec.c
@@
-1372,7
+1372,7
@@
static void ape_unpack_stereo(APEContext *ctx, int count)
int32_t *decoded0 = ctx->decoded[0];
int32_t *decoded1 = ctx->decoded[1];
- if (
ctx->frameflags &
APE_FRAMECODE_STEREO_SILENCE) {
+ if (
(ctx->frameflags & APE_FRAMECODE_STEREO_SILENCE) ==
APE_FRAMECODE_STEREO_SILENCE) {
/* We are pure silence, so we're done. */
av_log(ctx->avctx, AV_LOG_DEBUG, "pure silence stereo\n");
return;