Commit fa85fcf2 authored by Anton Khirnov's avatar Anton Khirnov

qsvenc_hevc: fix enum declaration

Declare a named enum, not a variable with anonymous enum type.
parent 22522d9c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment