qsvenc_hevc: fix enum declaration
Declare a named enum, not a variable with anonymous enum type.
This commit is contained in:
parent
22522d9c2c
commit
fa85fcf2b7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user