qsvenc_hevc: fix enum declaration

Declare a named enum, not a variable with anonymous enum type.
This commit is contained in:
Anton Khirnov 2015-07-21 19:43:34 +02:00
parent 22522d9c2c
commit fa85fcf2b7

View File

@ -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;