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
7f8bfbee
Commit
7f8bfbee
authored
Feb 08, 2019
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/h264_parse: Clear ref_list[1] if only [0] is used
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
9d800d39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
h264_parse.c
libavcodec/h264_parse.c
+4
-0
No files found.
libavcodec/h264_parse.c
View file @
7f8bfbee
...
...
@@ -253,6 +253,10 @@ int ff_h264_parse_ref_count(int *plist_count, int ref_count[2],
ref_count
[
0
]
=
ref_count
[
1
]
=
0
;
*
plist_count
=
0
;
goto
fail
;
}
else
if
(
ref_count
[
1
]
-
1
>
max
[
1
])
{
av_log
(
logctx
,
AV_LOG_DEBUG
,
"reference overflow %u > %u
\n
"
,
ref_count
[
1
]
-
1
,
max
[
1
]);
ref_count
[
1
]
=
0
;
}
}
else
{
...
...
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