aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-17 13:35:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-17 13:35:23 +0100
commit3e3b0b3a40ee44343a6db7285734fe4c80718f28 (patch)
tree77a2d0a9357f50e42894be0c9d3ce50e61d3ada7
parentdc226c023d2b55d9e94b6b0b07b7c76ad6f0b16a (diff)
downloadffmpeg-3e3b0b3a40ee44343a6db7285734fe4c80718f28.tar.gz
avcodec/vdpau: update ff_vdpau_h264_set_reference_frames() to H264Picture
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/vdpau.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index 06f6d4c4f2..1a7dae5f85 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -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;
+ H264Picture *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;
+ H264Picture **lp = list ? h->long_ref : h->short_ref;
int ls = list ? 16 : h->short_ref_count;
for (i = 0; i < ls; ++i) {