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
aef3c69d
Commit
aef3c69d
authored
Jul 04, 2003
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved frame_count to wmadeccontext
Originally committed as revision 2011 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f2899fb1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
wmadec.c
libavcodec/wmadec.c
+10
-4
No files found.
libavcodec/wmadec.c
View file @
aef3c69d
...
...
@@ -111,6 +111,10 @@ typedef struct WMADecodeContext {
float
lsp_pow_e_table
[
256
];
float
lsp_pow_m_table1
[(
1
<<
LSP_POW_BITS
)];
float
lsp_pow_m_table2
[(
1
<<
LSP_POW_BITS
)];
#ifdef TRACE
int
frame_count
;
#endif
}
WMADecodeContext
;
typedef
struct
CoefVLCTable
{
...
...
@@ -125,8 +129,6 @@ static void wma_lsp_to_curve_init(WMADecodeContext *s, int frame_len);
#include "wmadata.h"
#ifdef TRACE
int
frame_count
=
0
;
static
void
dump_shorts
(
const
char
*
name
,
const
short
*
tab
,
int
n
)
{
int
i
;
...
...
@@ -694,7 +696,9 @@ static int wma_decode_block(WMADecodeContext *s)
int
nb_coefs
[
MAX_CHANNELS
];
float
mdct_norm
;
tprintf
(
"***decode_block: %d:%d
\n
"
,
frame_count
-
1
,
s
->
block_num
);
#ifdef TRACE
tprintf
(
"***decode_block: %d:%d
\n
"
,
s
->
frame_count
-
1
,
s
->
block_num
);
#endif
/* compute current block length */
if
(
s
->
use_variable_block_len
)
{
...
...
@@ -1127,7 +1131,9 @@ static int wma_decode_frame(WMADecodeContext *s, int16_t *samples)
int16_t
*
ptr
;
float
*
iptr
;
tprintf
(
"***decode_frame: %d size=%d
\n
"
,
frame_count
++
,
s
->
frame_len
);
#ifdef TRACE
tprintf
(
"***decode_frame: %d size=%d
\n
"
,
s
->
frame_count
++
,
s
->
frame_len
);
#endif
/* read each block */
s
->
block_num
=
0
;
...
...
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