aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-20 23:07:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-20 23:08:58 +0100
commit19139d8516dd676622e17533dd5704baaabb796e (patch)
treefece8bbcec0b317fcec6e5c2fd50c1b2a0d8c5d0 /libavcodec
parent1ec295a5c52bfe9a604bfb2a74041672db058324 (diff)
parent8b6136d3d18f44b4913803f8400d5d99b1e5b873 (diff)
downloadffmpeg-19139d8516dd676622e17533dd5704baaabb796e.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: vaapi: switch ff_vaapi_get_surface_id from Picture to AVFrame Conflicts: libavcodec/vaapi.c libavcodec/vaapi_internal.h See: 377cfc28a226a66d6f872f0a16b3811208011ebc Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vaapi_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vaapi_internal.h b/libavcodec/vaapi_internal.h
index eb23d3b065..918c718d14 100644
--- a/libavcodec/vaapi_internal.h
+++ b/libavcodec/vaapi_internal.h
@@ -35,10 +35,10 @@
* @{
*/
-/** Extract VASurfaceID from a Picture */
-static inline VASurfaceID ff_vaapi_get_surface_id(AVFrame *frm)
+/** Extract VASurfaceID from an AVFrame */
+static inline VASurfaceID ff_vaapi_get_surface_id(AVFrame *pic)
{
- return (uintptr_t)frm->data[3];
+ return (uintptr_t)pic->data[3];
}
/** Common AVHWAccel.end_frame() implementation */