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
61b673b1
Commit
61b673b1
authored
May 10, 2018
by
Timo Rothenpieler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/hevcdec: make ff_hevc_frame_nb_refs take a const pointer
(cherry picked from commit
46c1ee19
)
parent
8fde71ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
hevc_refs.c
libavcodec/hevc_refs.c
+2
-2
hevcdec.h
libavcodec/hevcdec.h
+1
-1
No files found.
libavcodec/hevc_refs.c
View file @
61b673b1
...
...
@@ -511,12 +511,12 @@ fail:
return
ret
;
}
int
ff_hevc_frame_nb_refs
(
HEVCContext
*
s
)
int
ff_hevc_frame_nb_refs
(
const
HEVCContext
*
s
)
{
int
ret
=
0
;
int
i
;
const
ShortTermRPS
*
rps
=
s
->
sh
.
short_term_rps
;
LongTermRPS
*
long_rps
=
&
s
->
sh
.
long_term_rps
;
const
LongTermRPS
*
long_rps
=
&
s
->
sh
.
long_term_rps
;
if
(
rps
)
{
for
(
i
=
0
;
i
<
rps
->
num_negative_pics
;
i
++
)
...
...
libavcodec/hevcdec.h
View file @
61b673b1
...
...
@@ -544,7 +544,7 @@ int ff_hevc_res_scale_sign_flag(HEVCContext *s, int idx);
/**
* Get the number of candidate references for the current frame.
*/
int
ff_hevc_frame_nb_refs
(
HEVCContext
*
s
);
int
ff_hevc_frame_nb_refs
(
const
HEVCContext
*
s
);
int
ff_hevc_set_new_ref
(
HEVCContext
*
s
,
AVFrame
**
frame
,
int
poc
);
...
...
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