1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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 "qsv_internal.h"
#include "qsvenc.h" #include "qsvenc.h"
enum { enum LoadPlugin {
LOAD_PLUGIN_NONE, LOAD_PLUGIN_NONE,
LOAD_PLUGIN_HEVC_SW, LOAD_PLUGIN_HEVC_SW,
LOAD_PLUGIN_HEVC_HW, LOAD_PLUGIN_HEVC_HW,
} LoadPlugin; };
typedef struct QSVHEVCEncContext { typedef struct QSVHEVCEncContext {
AVClass *class; AVClass *class;