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
fb2734c8
Commit
fb2734c8
authored
Jan 15, 2011
by
Jason Garrett-Glaser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix r26375 on non-x86.
Originally committed as revision 26376 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f14bdd8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
h264_cabac.c
libavcodec/h264_cabac.c
+2
-2
No files found.
libavcodec/h264_cabac.c
View file @
fb2734c8
...
@@ -1171,7 +1171,7 @@ static void decode_cabac_residual_nondc_internal( H264Context *h, DCTELEM *block
...
@@ -1171,7 +1171,7 @@ static void decode_cabac_residual_nondc_internal( H264Context *h, DCTELEM *block
static
av_always_inline
void
decode_cabac_residual_dc
(
H264Context
*
h
,
DCTELEM
*
block
,
int
cat
,
int
n
,
const
uint8_t
*
scantable
,
int
max_coeff
)
{
static
av_always_inline
void
decode_cabac_residual_dc
(
H264Context
*
h
,
DCTELEM
*
block
,
int
cat
,
int
n
,
const
uint8_t
*
scantable
,
int
max_coeff
)
{
/* read coded block flag */
/* read coded block flag */
if
(
get_cabac
(
CC
,
&
h
->
cabac_state
[
85
+
get_cabac_cbf_ctx
(
h
,
cat
,
n
,
1
)
]
)
==
0
)
{
if
(
get_cabac
(
&
h
->
cabac
,
&
h
->
cabac_state
[
85
+
get_cabac_cbf_ctx
(
h
,
cat
,
n
,
1
)
]
)
==
0
)
{
h
->
non_zero_count_cache
[
scan8
[
n
]]
=
0
;
h
->
non_zero_count_cache
[
scan8
[
n
]]
=
0
;
return
;
return
;
}
}
...
@@ -1180,7 +1180,7 @@ static av_always_inline void decode_cabac_residual_dc( H264Context *h, DCTELEM *
...
@@ -1180,7 +1180,7 @@ static av_always_inline void decode_cabac_residual_dc( H264Context *h, DCTELEM *
static
av_always_inline
void
decode_cabac_residual_nondc
(
H264Context
*
h
,
DCTELEM
*
block
,
int
cat
,
int
n
,
const
uint8_t
*
scantable
,
const
uint32_t
*
qmul
,
int
max_coeff
)
{
static
av_always_inline
void
decode_cabac_residual_nondc
(
H264Context
*
h
,
DCTELEM
*
block
,
int
cat
,
int
n
,
const
uint8_t
*
scantable
,
const
uint32_t
*
qmul
,
int
max_coeff
)
{
/* read coded block flag */
/* read coded block flag */
if
(
cat
!=
5
&&
get_cabac
(
CC
,
&
h
->
cabac_state
[
85
+
get_cabac_cbf_ctx
(
h
,
cat
,
n
,
0
)
]
)
==
0
)
{
if
(
cat
!=
5
&&
get_cabac
(
&
h
->
cabac
,
&
h
->
cabac_state
[
85
+
get_cabac_cbf_ctx
(
h
,
cat
,
n
,
0
)
]
)
==
0
)
{
h
->
non_zero_count_cache
[
scan8
[
n
]]
=
0
;
h
->
non_zero_count_cache
[
scan8
[
n
]]
=
0
;
return
;
return
;
}
}
...
...
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