OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22522d9
)
qsvenc_hevc: fix enum declaration
author
Anton Khirnov
<anton@khirnov.net>
Tue, 21 Jul 2015 17:43:34 +0000
(19:43 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sat, 25 Jul 2015 15:24:03 +0000
(17:24 +0200)
Declare a named enum, not a variable with anonymous enum type.
libavcodec/qsvenc_hevc.c
patch
|
blob
|
history
diff --git
a/libavcodec/qsvenc_hevc.c
b/libavcodec/qsvenc_hevc.c
index
7ef706b
..
0efb794
100644
(file)
--- a/
libavcodec/qsvenc_hevc.c
+++ b/
libavcodec/qsvenc_hevc.c
@@
-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;