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
7a9807de
Commit
7a9807de
authored
Nov 12, 2011
by
Mashiat Sarker Shakkhar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean-up
parent
3e2f664b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
wmalosslessdec.c
libavcodec/wmalosslessdec.c
+3
-5
No files found.
libavcodec/wmalosslessdec.c
View file @
7a9807de
...
...
@@ -696,7 +696,7 @@ static int decode_channel_residues(WmallDecodeCtx *s, int ch, int tile_size)
s
->
channel_residues
[
ch
][
0
]
=
get_sbits
(
&
s
->
gb
,
s
->
bits_per_sample
);
i
++
;
}
av_log
(
0
,
0
,
"%8d: "
,
num_logged_tiles
++
);
//
av_log(0, 0, "%8d: ", num_logged_tiles++);
for
(;
i
<
tile_size
;
i
++
)
{
int
quo
=
0
,
rem
,
rem_bits
,
residue
;
while
(
get_bits1
(
&
s
->
gb
))
...
...
@@ -717,12 +717,10 @@ static int decode_channel_residues(WmallDecodeCtx *s, int ch, int tile_size)
residue
=
residue
>>
1
;
s
->
channel_residues
[
ch
][
i
]
=
residue
;
//if (num_logged_tiles < 1)
av_log
(
0
,
0
,
"%4d "
,
residue
);
// dprintf(s->avctx, "%5d: %5d %10d %12d %12d %5d %-16d %04x\n",i, quo, ave_mean, s->ave_sum[ch], rem, rem_bits, s->channel_residues[ch][i], show_bits(&s->gb, 16));
/*if (num_logged_tiles < 1)
av_log(0, 0, "%4d ", residue); */
}
dump_int_buffer
(
s
->
channel_residues
[
ch
],
tile_size
,
16
);
av_log
(
0
,
0
,
"
\n
Tile size = %d
\n
"
,
tile_size
);
return
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