summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-17 12:57:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-17 13:05:13 +0100
commit2a37e560dccb81328f610c51e74ce6cc53f1a5c7 (patch)
tree8a8e8569f6be8f90d73808614d45fdcf00317893 /libavcodec/vdpau_internal.h
parent377cfc28a226a66d6f872f0a16b3811208011ebc (diff)
avcodec/vdpau: fix ff_vdpau_get_surface_id() argument after H264Picture
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vdpau_internal.h')
-rw-r--r--libavcodec/vdpau_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h
index cc634111b4..fd7eec610d 100644
--- a/libavcodec/vdpau_internal.h
+++ b/libavcodec/vdpau_internal.h
@@ -37,9 +37,9 @@
#include "version.h"
/** Extract VdpVideoSurface from a Picture */
-static inline uintptr_t ff_vdpau_get_surface_id(Picture *pic)
+static inline uintptr_t ff_vdpau_get_surface_id(AVFrame *frm)
{
- return (uintptr_t)pic->f.data[3];
+ return (uintptr_t)frm->data[3];
}
#if CONFIG_VDPAU