aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-07-21 19:43:34 +0200
committerAnton Khirnov <anton@khirnov.net>2015-07-25 17:24:03 +0200
commitfa85fcf2b7d1ab822a59245077b8bb855406d3e9 (patch)
tree0b4b889c538e5985a93d090504c7f707787367ee
parent22522d9c2c69624fe4d81d61ee65a56610f22f1d (diff)
downloadffmpeg-fa85fcf2b7d1ab822a59245077b8bb855406d3e9.tar.gz
qsvenc_hevc: fix enum declaration
Declare a named enum, not a variable with anonymous enum type.
-rw-r--r--libavcodec/qsvenc_hevc.c4
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;