aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-11-14 15:31:47 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-11-14 15:31:47 +0000
commit8e1b957cd4b6ea4bd3d18df6efd68d4e7232f08d (patch)
tree14d413fd98eef64b97bb686565d54f32b5fbe6f0
parent8ef4de4e11089814ef4be6d9cac4cb38c21c5991 (diff)
downloadffmpeg-8e1b957cd4b6ea4bd3d18df6efd68d4e7232f08d.tar.gz
Support 44.1kHz audio. Acked by Benjamin
Originally committed as revision 11024 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/nellymoserdec.c2
1 files changed, 2 insertions, 0 deletions
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;