projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ecf2b
)
vaapi: Disable deprecation warnings around use of old struct vaapi_context
author
Mark Thompson
<sw@jkqxz.net>
Thu, 14 Sep 2017 21:11:45 +0000
(22:11 +0100)
committer
Mark Thompson
<sw@jkqxz.net>
Tue, 19 Sep 2017 21:46:55 +0000
(22:46 +0100)
libavcodec/vaapi_decode.h
patch
|
blob
|
history
diff --git
a/libavcodec/vaapi_decode.h
b/libavcodec/vaapi_decode.h
index
4fe414c
..
550ee05
100644
(file)
--- a/
libavcodec/vaapi_decode.h
+++ b/
libavcodec/vaapi_decode.h
@@
-59,9
+59,11
@@
typedef struct VAAPIDecodeContext {
VAContextID va_context;
#if FF_API_STRUCT_VAAPI_CONTEXT
+FF_DISABLE_DEPRECATION_WARNINGS
int have_old_context;
struct vaapi_context *old_context;
AVBufferRef *device_ref;
+FF_ENABLE_DEPRECATION_WARNINGS
#endif
AVHWDeviceContext *device;