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
ebfb0449
Commit
ebfb0449
authored
Dec 23, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indent
Originally committed as revision 16302 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
05d3fd44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
h264.c
libavcodec/h264.c
+19
-19
No files found.
libavcodec/h264.c
View file @
ebfb0449
...
...
@@ -4507,10 +4507,10 @@ decode_intra_mb:
tmp
=
get_bits1
(
&
s
->
gb
)
^
1
;
}
else
{
tmp
=
get_ue_golomb_31
(
&
s
->
gb
);
if
(
tmp
>=
ref_count
){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"ref %u overflow
\n
"
,
tmp
);
return
-
1
;
}
if
(
tmp
>=
ref_count
){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"ref %u overflow
\n
"
,
tmp
);
return
-
1
;
}
}
ref
[
list
][
i
]
=
tmp
;
}
else
{
...
...
@@ -4581,11 +4581,11 @@ decode_intra_mb:
}
else
if
(
h
->
ref_count
[
list
]
==
2
){
val
=
get_bits1
(
&
s
->
gb
)
^
1
;
}
else
{
val
=
get_ue_golomb_31
(
&
s
->
gb
);
if
(
val
>=
h
->
ref_count
[
list
]){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"ref %u overflow
\n
"
,
val
);
return
-
1
;
}
val
=
get_ue_golomb_31
(
&
s
->
gb
);
if
(
val
>=
h
->
ref_count
[
list
]){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"ref %u overflow
\n
"
,
val
);
return
-
1
;
}
}
}
else
val
=
LIST_NOT_USED
&
0xFF
;
...
...
@@ -4615,11 +4615,11 @@ decode_intra_mb:
}
else
if
(
h
->
ref_count
[
list
]
==
2
){
val
=
get_bits1
(
&
s
->
gb
)
^
1
;
}
else
{
val
=
get_ue_golomb_31
(
&
s
->
gb
);
if
(
val
>=
h
->
ref_count
[
list
]){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"ref %u overflow
\n
"
,
val
);
return
-
1
;
}
val
=
get_ue_golomb_31
(
&
s
->
gb
);
if
(
val
>=
h
->
ref_count
[
list
]){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"ref %u overflow
\n
"
,
val
);
return
-
1
;
}
}
}
else
val
=
LIST_NOT_USED
&
0xFF
;
...
...
@@ -4652,11 +4652,11 @@ decode_intra_mb:
}
else
if
(
h
->
ref_count
[
list
]
==
2
){
val
=
get_bits1
(
&
s
->
gb
)
^
1
;
}
else
{
val
=
get_ue_golomb_31
(
&
s
->
gb
);
if
(
val
>=
h
->
ref_count
[
list
]){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"ref %u overflow
\n
"
,
val
);
return
-
1
;
}
val
=
get_ue_golomb_31
(
&
s
->
gb
);
if
(
val
>=
h
->
ref_count
[
list
]){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"ref %u overflow
\n
"
,
val
);
return
-
1
;
}
}
}
else
val
=
LIST_NOT_USED
&
0xFF
;
...
...
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