summaryrefslogtreecommitdiff
path: root/libavcodec/nellymoserdec.c
diff options
context:
space:
mode:
authorAlexander Chemeris <ipse.ffmpeg@gmail.com>2009-05-11 19:21:49 +0000
committerDiego Biurrun <diego@biurrun.de>2009-05-11 19:21:49 +0000
commitc67d725589596bf7a872525727d93bd24311a5eb (patch)
tree2dc102d92bbf11f9bd949f1973d7352a8272f03d /libavcodec/nellymoserdec.c
parent325aef38da0032082780218188c77c4bcf0a376d (diff)
Support 16K samplerate in Nellymoser.
patch by Alexander Chemeris, ipse.ffmpeg gmail.com Originally committed as revision 18798 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/nellymoserdec.c')
-rw-r--r--libavcodec/nellymoserdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index cf4a916260..94f441890e 100644
--- a/libavcodec/nellymoserdec.c
+++ b/libavcodec/nellymoserdec.c
@@ -170,6 +170,8 @@ static int decode_tag(AVCodecContext * avctx,
blocks = 1; break;
case 128: // 11025Hz
blocks = 2; break;
+ case 192: // 16000Hz
+ blocks = 3; break;
case 256: // 22050Hz
blocks = 4; break;
case 512: // 44100Hz