diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2007-03-18 04:53:21 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2007-03-18 04:53:21 +0000 |
commit | 495529f7dfbaf24bfe567911ec9717bf90f6081a (patch) | |
tree | 698c87b478a6efbf90d6612368dec5e2dd3da218 /libavcodec/ac3.c | |
parent | 92964be89575f4ae367095567d69c664d9fc4493 (diff) | |
download | ffmpeg-495529f7dfbaf24bfe567911ec9717bf90f6081a.tar.gz |
hardcode ff_ac3_frame_sizes table
Originally committed as revision 8435 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3.c')
-rw-r--r-- | libavcodec/ac3.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/ac3.c b/libavcodec/ac3.c index 47c49c0d05..83c70ddb86 100644 --- a/libavcodec/ac3.c +++ b/libavcodec/ac3.c @@ -200,14 +200,6 @@ void ac3_common_init(void) l += v; } bndtab[50] = l; - - /* generate ff_ac3_frame_sizes table */ - for(i=0; i<38; i++) { - int br = ff_ac3_bitratetab[i >> 1]; - ff_ac3_frame_sizes[i][0] = ( 2*br ); - ff_ac3_frame_sizes[i][1] = (320*br / 147) + (i & 1); - ff_ac3_frame_sizes[i][2] = ( 3*br ); - } } int ff_ac3_parse_header(const uint8_t buf[7], AC3HeaderInfo *hdr) |