Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: media/base/video_capture_types.h

Issue 1211273005: Use safer IPC serializations in media_param_traits.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up unit tests Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/cras/cras_input_unittest.cc ('k') | media/base/video_capture_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_capture_types.h
diff --git a/media/base/video_capture_types.h b/media/base/video_capture_types.h
index 88b5a49e6b67984c07c4ac1a4bdec6422f357510..0f0cc54652d3c12f305bd899510cac586421fcc1 100644
--- a/media/base/video_capture_types.h
+++ b/media/base/video_capture_types.h
@@ -32,7 +32,7 @@ enum VideoPixelFormat {
PIXEL_FORMAT_ARGB,
PIXEL_FORMAT_MJPEG,
PIXEL_FORMAT_UNKNOWN, // Color format not set.
- PIXEL_FORMAT_MAX,
+ PIXEL_FORMAT_MAX = PIXEL_FORMAT_UNKNOWN,
};
// Storage type for the pixels. In principle, all combinations of Storage and
« no previous file with comments | « media/audio/cras/cras_input_unittest.cc ('k') | media/base/video_capture_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698