From 8e1b957cd4b6ea4bd3d18df6efd68d4e7232f08d Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 14 Nov 2007 15:31:47 +0000 Subject: [PATCH] Support 44.1kHz audio. Acked by Benjamin Originally committed as revision 11024 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/nellymoserdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index 7edcfa9ab3..58802025c1 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -379,6 +379,8 @@ static int decode_tag(AVCodecContext * avctx, blocks = 2; break; case 256: // 22050Hz blocks = 4; break; + case 512: // 44100Hz + blocks = 8; break; default: av_log(avctx, AV_LOG_ERROR, "Tag size %d unknown, report sample!\n", buf_size); return buf_size;