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
6d05039c
Commit
6d05039c
authored
Jul 04, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/sonic: Fix usage of init_get_bits() and use init_get_bits8()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b237e628
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sonic.c
libavcodec/sonic.c
+2
-2
No files found.
libavcodec/sonic.c
View file @
6d05039c
...
...
@@ -758,7 +758,7 @@ static av_cold int sonic_decode_init(AVCodecContext *avctx)
return
AVERROR_INVALIDDATA
;
}
init_get_bits
(
&
gb
,
avctx
->
extradata
,
avctx
->
extradata_size
);
init_get_bits
8
(
&
gb
,
avctx
->
extradata
,
avctx
->
extradata_size
);
version
=
get_bits
(
&
gb
,
2
);
if
(
version
>
1
)
...
...
@@ -872,7 +872,7 @@ static int sonic_decode_frame(AVCodecContext *avctx,
// av_log(NULL, AV_LOG_INFO, "buf_size: %d\n", buf_size);
init_get_bits
(
&
gb
,
buf
,
buf_size
*
8
);
init_get_bits
8
(
&
gb
,
buf
,
buf_size
);
intlist_read
(
&
gb
,
s
->
predictor_k
,
s
->
num_taps
,
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