Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-07-21 20:43:34 +0300
committerAnton Khirnov <anton@khirnov.net>2015-07-25 18:24:03 +0300
commitfa85fcf2b7d1ab822a59245077b8bb855406d3e9 (patch)
tree0b4b889c538e5985a93d090504c7f707787367ee /libavcodec/qsvenc_hevc.c
parent22522d9c2c69624fe4d81d61ee65a56610f22f1d (diff)
qsvenc_hevc: fix enum declaration
Declare a named enum, not a variable with anonymous enum type.
Diffstat (limited to 'libavcodec/qsvenc_hevc.c')
-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;