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
84af4a7e
Commit
84af4a7e
authored
Jan 31, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l (missing overflow check)
Originally committed as revision 3908 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9da235c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
mpegaudiodec.c
libavcodec/mpegaudiodec.c
+6
-3
No files found.
libavcodec/mpegaudiodec.c
View file @
84af4a7e
...
...
@@ -231,6 +231,9 @@ static inline int l3_unscale(int value, int exponent)
#if FRAC_BITS <= 15
if
(
e
>
31
)
e
=
31
;
#else
if
(
e
>
63
)
e
=
63
;
#endif
m
=
table_4_3_value
[
value
];
#if FRAC_BITS <= 15
...
...
@@ -2137,11 +2140,11 @@ void sample_dump(int fnum, int32_t *tab, int n)
if
(
fnum
==
0
)
{
static
int
pos
=
0
;
printf
(
"pos=%d
\n
"
,
pos
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
"pos=%d
\n
"
,
pos
);
for
(
i
=
0
;
i
<
n
;
i
++
)
{
printf
(
" %0.4f"
,
(
double
)
tab
[
i
]
/
FRAC_ONE
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
" %0.4f"
,
(
double
)
tab
[
i
]
/
FRAC_ONE
);
if
((
i
%
18
)
==
17
)
printf
(
"
\n
"
);
av_log
(
NULL
,
AV_LOG_DEBUG
,
"
\n
"
);
}
pos
+=
n
;
}
...
...
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