Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
0fe4b485
Commit
0fe4b485
authored
Aug 26, 2012
by
Michael Niedermayer
Committed by
Anton Khirnov
Mar 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabac: remove unused argument of ff_init_cabac_states()
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
be40d6cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
cabac.c
libavcodec/cabac.c
+2
-1
cabac.h
libavcodec/cabac.h
+1
-1
h264.c
libavcodec/h264.c
+1
-1
No files found.
libavcodec/cabac.c
View file @
0fe4b485
...
...
@@ -136,7 +136,8 @@ void ff_init_cabac_decoder(CABACContext *c, const uint8_t *buf, int buf_size){
c
->
range
=
0x1FE
;
}
void
ff_init_cabac_states
(
CABACContext
*
c
){
void
ff_init_cabac_states
(
void
)
{
int
i
,
j
;
for
(
i
=
0
;
i
<
64
;
i
++
){
...
...
libavcodec/cabac.h
View file @
0fe4b485
...
...
@@ -51,6 +51,6 @@ typedef struct CABACContext{
void
ff_init_cabac_encoder
(
CABACContext
*
c
,
uint8_t
*
buf
,
int
buf_size
);
void
ff_init_cabac_decoder
(
CABACContext
*
c
,
const
uint8_t
*
buf
,
int
buf_size
);
void
ff_init_cabac_states
(
CABACContext
*
c
);
void
ff_init_cabac_states
(
void
);
#endif
/* AVCODEC_CABAC_H */
libavcodec/h264.c
View file @
0fe4b485
...
...
@@ -4111,7 +4111,7 @@ static int decode_slice(struct AVCodecContext *avctx, void *arg)
align_get_bits
(
&
h
->
gb
);
/* init cabac */
ff_init_cabac_states
(
&
h
->
cabac
);
ff_init_cabac_states
();
ff_init_cabac_decoder
(
&
h
->
cabac
,
h
->
gb
.
buffer
+
get_bits_count
(
&
h
->
gb
)
/
8
,
(
get_bits_left
(
&
h
->
gb
)
+
7
)
/
8
);
...
...
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