[SCM] libav/experimental: Properly handle SILENCE frame. Patch by Kenan Gillet.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:45:16 UTC 2013
The following commit has been merged in the experimental branch:
commit 5b05059d2d1d66600c0bfa97271c3603d9907f4f
Author: Kenan Gillet <kenan.gillet at gmail.com>
Date: Mon May 4 03:25:57 2009 +0000
Properly handle SILENCE frame. Patch by Kenan Gillet.
Originally committed as revision 18734 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index eff57cf..68b9d2c 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -249,7 +249,7 @@ static void decode_gain_and_index(QCELPContext *q,
gain[2] = gain[1];
gain[1] = 0.6*gain[0] + 0.4*gain[1];
}
- }else
+ }else if (q->bitrate != SILENCE)
{
if(q->bitrate == RATE_OCTAVE)
{
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list