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
3e3b0b3a
Commit
3e3b0b3a
authored
Mar 17, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/vdpau: update ff_vdpau_h264_set_reference_frames() to H264Picture
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
dc226c02
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vdpau.c
libavcodec/vdpau.c
+2
-2
No files found.
libavcodec/vdpau.c
View file @
3e3b0b3a
...
...
@@ -125,7 +125,7 @@ void ff_vdpau_h264_set_reference_frames(H264Context *h)
{
struct
vdpau_render_state
*
render
,
*
render_ref
;
VdpReferenceFrameH264
*
rf
,
*
rf2
;
Picture
*
pic
;
H264
Picture
*
pic
;
int
i
,
list
,
pic_frame_idx
;
render
=
(
struct
vdpau_render_state
*
)
h
->
cur_pic_ptr
->
f
.
data
[
0
];
...
...
@@ -135,7 +135,7 @@ void ff_vdpau_h264_set_reference_frames(H264Context *h)
#define H264_RF_COUNT FF_ARRAY_ELEMS(render->info.h264.referenceFrames)
for
(
list
=
0
;
list
<
2
;
++
list
)
{
Picture
**
lp
=
list
?
h
->
long_ref
:
h
->
short_ref
;
H264
Picture
**
lp
=
list
?
h
->
long_ref
:
h
->
short_ref
;
int
ls
=
list
?
16
:
h
->
short_ref_count
;
for
(
i
=
0
;
i
<
ls
;
++
i
)
{
...
...
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