diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-07-21 20:43:34 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-07-25 18:24:03 +0300 |
commit | fa85fcf2b7d1ab822a59245077b8bb855406d3e9 (patch) | |
tree | 0b4b889c538e5985a93d090504c7f707787367ee /libavcodec | |
parent | 22522d9c2c69624fe4d81d61ee65a56610f22f1d (diff) |
qsvenc_hevc: fix enum declaration
Declare a named enum, not a variable with anonymous enum type.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qsvenc_hevc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c index 7ef706b042..0efb7940e9 100644 --- a/libavcodec/qsvenc_hevc.c +++ b/libavcodec/qsvenc_hevc.c @@ -36,11 +36,11 @@ #include "qsv_internal.h" #include "qsvenc.h" -enum { +enum LoadPlugin { LOAD_PLUGIN_NONE, LOAD_PLUGIN_HEVC_SW, LOAD_PLUGIN_HEVC_HW, -} LoadPlugin; +}; typedef struct QSVHEVCEncContext { AVClass *class; |