Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
9608652d
Commit
9608652d
authored
Mar 14, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kill another 2 av_mallocz_static()
Originally committed as revision 8396 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2df6e978
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
mpegaudiodec.c
libavcodec/mpegaudiodec.c
+2
-8
No files found.
libavcodec/mpegaudiodec.c
View file @
9608652d
...
...
@@ -144,8 +144,8 @@ static VLC huff_quad_vlc[2];
static
uint16_t
band_index_long
[
9
][
23
];
/* XXX: free when all decoders are closed */
#define TABLE_4_3_SIZE (8191 + 16)*4
static
int8_t
*
table_4_3_exp
;
static
uint32_t
*
table_4_3_value
;
static
int8_t
table_4_3_exp
[
TABLE_4_3_SIZE
]
;
static
uint32_t
table_4_3_value
[
TABLE_4_3_SIZE
]
;
static
uint32_t
exp_table
[
512
];
static
uint32_t
expval_table
[
512
][
16
];
/* intensity stereo coef table */
...
...
@@ -384,12 +384,6 @@ static int decode_init(AVCodecContext * avctx)
}
/* compute n ^ (4/3) and store it in mantissa/exp format */
table_4_3_exp
=
av_mallocz_static
(
TABLE_4_3_SIZE
*
sizeof
(
table_4_3_exp
[
0
]));
if
(
!
table_4_3_exp
)
return
-
1
;
table_4_3_value
=
av_mallocz_static
(
TABLE_4_3_SIZE
*
sizeof
(
table_4_3_value
[
0
]));
if
(
!
table_4_3_value
)
return
-
1
;
int_pow_init
();
for
(
i
=
1
;
i
<
TABLE_4_3_SIZE
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment