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
374582ac
Commit
374582ac
authored
Nov 03, 2011
by
Mashiat Sarker Shakkhar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics
parent
fa3e0190
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
wmalosslessdec.c
libavcodec/wmalosslessdec.c
+5
-5
No files found.
libavcodec/wmalosslessdec.c
View file @
374582ac
...
...
@@ -216,9 +216,9 @@ typedef struct WmallDecodeCtx {
int8_t
esc_len
;
///< length of escaped coefficients
uint8_t
num_chgroups
;
///< number of channel groups
WmallChannelGrp
chgroup
[
WMALL_MAX_CHANNELS
];
///< channel group information
WmallChannelGrp
chgroup
[
WMALL_MAX_CHANNELS
];
///< channel group information
WmallChannelCtx
channel
[
WMALL_MAX_CHANNELS
];
///< per channel data
WmallChannelCtx
channel
[
WMALL_MAX_CHANNELS
];
///< per channel data
// WMA lossless
...
...
@@ -363,10 +363,10 @@ static av_cold int decode_init(AVCodecContext *avctx)
s
->
channel
[
i
].
prev_block_len
=
s
->
samples_per_frame
;
/** subframe info */
log2_max_num_subframes
=
((
s
->
decode_flags
&
0x38
)
>>
3
);
s
->
max_num_subframes
=
1
<<
log2_max_num_subframes
;
log2_max_num_subframes
=
((
s
->
decode_flags
&
0x38
)
>>
3
);
s
->
max_num_subframes
=
1
<<
log2_max_num_subframes
;
s
->
max_subframe_len_bit
=
0
;
s
->
subframe_len_bits
=
av_log2
(
log2_max_num_subframes
)
+
1
;
s
->
subframe_len_bits
=
av_log2
(
log2_max_num_subframes
)
+
1
;
num_possible_block_sizes
=
log2_max_num_subframes
+
1
;
s
->
min_samples_per_subframe
=
s
->
samples_per_frame
/
s
->
max_num_subframes
;
...
...
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