summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-03-23 19:49:39 +0000
committerMark Thompson <sw@jkqxz.net>2017-03-27 21:54:06 +0100
commit1bd986ed4b0e95ded368a8eeb5c044853c090f9b (patch)
tree0f07649bf3b176ce72f386f1446c678af3564ec7 /libavutil/hwcontext.h
parent0b9a237b2386ff84a6f99716bd58fa27a1b767e7 (diff)
hwcontext: Move NONE to the be the first member of AVHWDeviceType
Also use that to fix a warning in av_hwdevice_get_type_name().
Diffstat (limited to 'libavutil/hwcontext.h')
-rw-r--r--libavutil/hwcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext.h b/libavutil/hwcontext.h
index 040e010b30..889e30365e 100644
--- a/libavutil/hwcontext.h
+++ b/libavutil/hwcontext.h
@@ -25,12 +25,12 @@
#include "pixfmt.h"
enum AVHWDeviceType {
+ AV_HWDEVICE_TYPE_NONE,
AV_HWDEVICE_TYPE_VDPAU,
AV_HWDEVICE_TYPE_CUDA,
AV_HWDEVICE_TYPE_VAAPI,
AV_HWDEVICE_TYPE_DXVA2,
AV_HWDEVICE_TYPE_QSV,
- AV_HWDEVICE_TYPE_NONE,
};
typedef struct AVHWDeviceInternal AVHWDeviceInternal;