]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hwcontext.h
hwcontext: Move NONE to the be the first member of AVHWDeviceType
[ffmpeg] / libavutil / hwcontext.h
index 040e010b308653aa9e952a6de094a36dbbce20e1..889e30365ee13604390c63218110bb4476c6ae2a 100644 (file)
 #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;