Support 44.1kHz audio. Acked by Benjamin

Originally committed as revision 11024 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Beregszaszi 2007-11-14 15:31:47 +00:00
parent 8ef4de4e11
commit 8e1b957cd4

View File

@ -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;