Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-17 15:45:36 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-03-17 15:45:36 +0400
commit377cfc28a226a66d6f872f0a16b3811208011ebc (patch)
tree908fb65441c6d399b9e6efe5bb7b436adf833042 /libavcodec/vaapi_internal.h
parent9517900bef528527d8507da5a1992f99513d71b4 (diff)
avcodec/vaapi: fix pointer types after H264Picture changes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vaapi_internal.h')
-rw-r--r--libavcodec/vaapi_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vaapi_internal.h b/libavcodec/vaapi_internal.h
index 1ac0e9fe35..eb23d3b065 100644
--- a/libavcodec/vaapi_internal.h
+++ b/libavcodec/vaapi_internal.h
@@ -36,9 +36,9 @@
*/
/** Extract VASurfaceID from a Picture */
-static inline VASurfaceID ff_vaapi_get_surface_id(Picture *pic)
+static inline VASurfaceID ff_vaapi_get_surface_id(AVFrame *frm)
{
- return (uintptr_t)pic->f.data[3];
+ return (uintptr_t)frm->data[3];
}
/** Common AVHWAccel.end_frame() implementation */