hwcontext: Move NONE to the be the first member of AVHWDeviceType
authorMark Thompson <sw@jkqxz.net>
Thu, 23 Mar 2017 19:49:39 +0000 (19:49 +0000)
committerMark Thompson <sw@jkqxz.net>
Mon, 27 Mar 2017 20:54:06 +0000 (21:54 +0100)
commit1bd986ed4b0e95ded368a8eeb5c044853c090f9b
tree0f07649bf3b176ce72f386f1446c678af3564ec7
parent0b9a237b2386ff84a6f99716bd58fa27a1b767e7
hwcontext: Move NONE to the be the first member of AVHWDeviceType

Also use that to fix a warning in av_hwdevice_get_type_name().
libavutil/hwcontext.c
libavutil/hwcontext.h