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:
parent
22522d9c2c
commit
fa85fcf2b7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user