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

Unified Diff: media/filters/jpeg_parser_unittest.cc

Issue 1291933002: File video capture device supports MJPEG format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address kcwu@ Created 5 years, 4 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
Index: media/filters/jpeg_parser_unittest.cc
diff --git a/media/filters/jpeg_parser_unittest.cc b/media/filters/jpeg_parser_unittest.cc
index f2ae889a4a33bd90b14a16740bfe570747fa90d8..40e30b69f1739ab8654c0585792793210ea84589 100644
--- a/media/filters/jpeg_parser_unittest.cc
+++ b/media/filters/jpeg_parser_unittest.cc
@@ -76,6 +76,7 @@ TEST(JpegParserTest, Parsing) {
EXPECT_EQ(1, result.scan.components[2].dc_selector);
EXPECT_EQ(1, result.scan.components[2].ac_selector);
EXPECT_EQ(121150u, result.data_size);
+ EXPECT_EQ(121358u, result.image_size);
}
TEST(JpegParserTest, CodedSizeNotEqualVisibleSize) {
« media/capture/video/file_video_capture_device_factory.cc ('K') | « media/filters/jpeg_parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698