diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-22 13:20:07 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-22 13:35:43 +0100 |
commit | ea4d46e72945cba37feb7aa154eb970732f513e4 (patch) | |
tree | 1de0d99a50bd9ce688080d24a891ee873b7c8f45 | |
parent | 2a187a074a7f5ad9f01f72ac9715ddfcb2dbb8ec (diff) | |
download | ffmpeg-ea4d46e72945cba37feb7aa154eb970732f513e4.tar.gz |
dds: Fix enum declaration
Drop the global variables with anonymous enum type.
-rw-r--r-- | libavcodec/dds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dds.c b/libavcodec/dds.c index e1090eedf0..d259b5e0f4 100644 --- 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; |