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

Unified Diff: testing/libfuzzer/fuzzers/es_parser_adts_fuzzer.cc

Issue 2158923004: Convert media constants to constexpr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: testing/libfuzzer/fuzzers/es_parser_adts_fuzzer.cc
diff --git a/testing/libfuzzer/fuzzers/es_parser_adts_fuzzer.cc b/testing/libfuzzer/fuzzers/es_parser_adts_fuzzer.cc
index b3da40761954042280c9fd2ba6fb60e338afac3d..756a25975e8e13ce56d0015c8a7e6ac1a112f18d 100644
--- a/testing/libfuzzer/fuzzers/es_parser_adts_fuzzer.cc
+++ b/testing/libfuzzer/fuzzers/es_parser_adts_fuzzer.cc
@@ -15,7 +15,7 @@ static void EmitBuffer(scoped_refptr<media::StreamParserBuffer> buffer) {}
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
media::mp2t::EsParserAdts es_parser(base::Bind(&NewAudioConfig),
base::Bind(&EmitBuffer), true);
- if (!es_parser.Parse(data, size, media::kNoTimestamp(),
+ if (!es_parser.Parse(data, size, media::kNoTimestamp,
media::kNoDecodeTimestamp())) {
mmoroz 2016/07/19 08:50:33 Sorry if |kNoDecodeTimestamp()| shouldn't be repla
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698