summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_mpeg4.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-09 14:36:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-09 15:18:46 +0200
commit59a53842d360ddaf883a0415b11013038fa57da0 (patch)
treebec280eb85d158ae75e54268cef1ebdd47be563c /libavcodec/vdpau_mpeg4.c
parent60ef0c6f909703ae4dc021f6857d254c7badc1ec (diff)
parentf6774f905fb3cfdc319523ac640be30b14c1bc55 (diff)
downloadffmpeg-59a53842d360ddaf883a0415b11013038fa57da0.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: mpegvideo: operate with pointers to AVFrames instead of whole structs Conflicts: libavcodec/h261dec.c libavcodec/h263dec.c libavcodec/intrax8.c libavcodec/mpeg12enc.c libavcodec/mpegvideo.c libavcodec/mpegvideo.h libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_motion.c libavcodec/mpegvideo_xvmc.c libavcodec/msmpeg4.c libavcodec/ratecontrol.c libavcodec/vaapi.c libavcodec/vc1dec.c libavcodec/vdpau_vc1.c See: fc567ac49e17151f00f31b59030cd10f952612ef Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vdpau_mpeg4.c')
-rw-r--r--libavcodec/vdpau_mpeg4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vdpau_mpeg4.c b/libavcodec/vdpau_mpeg4.c
index 1b0ef76a7b..28f1f1157b 100644
--- a/libavcodec/vdpau_mpeg4.c
+++ b/libavcodec/vdpau_mpeg4.c
@@ -46,13 +46,13 @@ static int vdpau_mpeg4_start_frame(AVCodecContext *avctx,
switch (s->pict_type) {
case AV_PICTURE_TYPE_B:
- ref = ff_vdpau_get_surface_id(&s->next_picture.f);
+ ref = ff_vdpau_get_surface_id(s->next_picture.f);
assert(ref != VDP_INVALID_HANDLE);
info->backward_reference = ref;
info->vop_coding_type = 2;
/* fall-through */
case AV_PICTURE_TYPE_P:
- ref = ff_vdpau_get_surface_id(&s->last_picture.f);
+ ref = ff_vdpau_get_surface_id(s->last_picture.f);
assert(ref != VDP_INVALID_HANDLE);
info->forward_reference = ref;
}