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:
2a187a0
)
dds: Fix enum declaration
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Wed, 22 Jul 2015 12:20:07 +0000
(13:20 +0100)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Wed, 22 Jul 2015 12:35:43 +0000
(13:35 +0100)
Drop the global variables with anonymous enum type.
libavcodec/dds.c
patch
|
blob
|
history
diff --git
a/libavcodec/dds.c
b/libavcodec/dds.c
index
e1090ee
..
d259b5e
100644
(file)
--- a/
libavcodec/dds.c
+++ b/
libavcodec/dds.c
@@
-54,7
+54,7
@@
enum DDSPostProc {
DDS_SWIZZLE_XGBR,
DDS_SWIZZLE_XRBG,
DDS_SWIZZLE_XGXR,
-}
DDSPostProc
;
+};
enum DDSDXGIFormat {
DXGI_FORMAT_R16G16B16A16_TYPELESS = 9,
@@
-93,7
+93,7
@@
enum DDSDXGIFormat {
DXGI_FORMAT_B8G8R8A8_UNORM_SRGB = 91,
DXGI_FORMAT_B8G8R8X8_TYPELESS = 92,
DXGI_FORMAT_B8G8R8X8_UNORM_SRGB = 93,
-}
DDSDXGIFormat
;
+};
typedef struct DDSContext {
TextureDSPContext texdsp;