Cleanup little things found when refactoring.
R=juberti@google.com
Review URL: https://webrtc-codereview.appspot.com/33519004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7880 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/talk/media/base/videocommon.h b/talk/media/base/videocommon.h
index a175c13..fc05580 100644
--- a/talk/media/base/videocommon.h
+++ b/talk/media/base/videocommon.h
@@ -129,11 +129,15 @@
// 1 Auxiliary compressed YUV format set aside for capturer.
FOURCC_H264 = FOURCC('H', '2', '6', '4'),
-
- // Match any fourcc.
- FOURCC_ANY = 0xFFFFFFFF,
};
+// Match any fourcc.
+
+// We move this out of the enum because using it in many places caused
+// the compiler to get grumpy, presumably since the above enum is
+// backed by an int.
+static const uint32 FOURCC_ANY = 0xFFFFFFFF;
+
// Converts fourcc aliases into canonical ones.
uint32 CanonicalFourCC(uint32 fourcc);