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
f3d349f6
Commit
f3d349f6
authored
Nov 05, 2011
by
Mashiat Sarker Shakkhar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()
parent
269a0dee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
wmalosslessdec.c
libavcodec/wmalosslessdec.c
+4
-0
No files found.
libavcodec/wmalosslessdec.c
View file @
f3d349f6
...
@@ -875,6 +875,8 @@ static int decode_subframe(WmallDecodeCtx *s)
...
@@ -875,6 +875,8 @@ static int decode_subframe(WmallDecodeCtx *s)
s
->
seekable_tile
=
get_bits1
(
&
s
->
gb
);
s
->
seekable_tile
=
get_bits1
(
&
s
->
gb
);
if
(
s
->
seekable_tile
)
{
if
(
s
->
seekable_tile
)
{
clear_codec_buffers
(
s
);
s
->
do_arith_coding
=
get_bits1
(
&
s
->
gb
);
s
->
do_arith_coding
=
get_bits1
(
&
s
->
gb
);
if
(
s
->
do_arith_coding
)
{
if
(
s
->
do_arith_coding
)
{
dprintf
(
s
->
avctx
,
"do_arith_coding == 1"
);
dprintf
(
s
->
avctx
,
"do_arith_coding == 1"
);
...
@@ -893,6 +895,8 @@ static int decode_subframe(WmallDecodeCtx *s)
...
@@ -893,6 +895,8 @@ static int decode_subframe(WmallDecodeCtx *s)
decode_cdlms
(
s
);
decode_cdlms
(
s
);
s
->
movave_scaling
=
get_bits
(
&
s
->
gb
,
3
);
s
->
movave_scaling
=
get_bits
(
&
s
->
gb
,
3
);
s
->
quant_stepsize
=
get_bits
(
&
s
->
gb
,
8
)
+
1
;
s
->
quant_stepsize
=
get_bits
(
&
s
->
gb
,
8
)
+
1
;
reset_codec
(
s
);
}
}
rawpcm_tile
=
get_bits1
(
&
s
->
gb
);
rawpcm_tile
=
get_bits1
(
&
s
->
gb
);
...
...
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