[FFmpeg-cvslog] dds: Fix enum declaration

Vittorio Giovara git at videolan.org
Wed Jul 22 17:22:42 CEST 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Jul 22 13:20:07 2015 +0100| [ea4d46e72945cba37feb7aa154eb970732f513e4] | committer: Vittorio Giovara

dds: Fix enum declaration

Drop the global variables with anonymous enum type.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea4d46e72945cba37feb7aa154eb970732f513e4
---

 libavcodec/dds.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dds.c b/libavcodec/dds.c
index e1090ee..d259b5e 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;



More information about the ffmpeg-cvslog mailing list