]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vdpau_vc1.c
Merge commit '35177ba77ff60a8b8839783f57e44bcc4214507a'
[ffmpeg] / libavcodec / vdpau_vc1.c
index 475a8db7b00ee08a12b0f59a9102d3c7743c55f4..85397890a40c1692b0e0d7bb77475bb97f81025a 100644 (file)
@@ -45,14 +45,14 @@ static int vdpau_vc1_start_frame(AVCodecContext *avctx,
     switch (s->pict_type) {
     case AV_PICTURE_TYPE_B:
         if (s->next_picture_ptr) {
-        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;
         }
         /* fall-through */
     case AV_PICTURE_TYPE_P:
         if (s->last_picture_ptr) {
-        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;
         }