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

Unified Diff: media/formats/mpeg/mpeg1_audio_stream_parser.cc

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Actually fix fuzzers. Created 3 years, 8 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/formats/mpeg/mpeg1_audio_stream_parser.cc
diff --git a/media/formats/mpeg/mpeg1_audio_stream_parser.cc b/media/formats/mpeg/mpeg1_audio_stream_parser.cc
index a86c1e1b1ae07cb008d239074bede92cdcb4faef..843b3ad0990c932d478e7829eb5589018d71486a 100644
--- a/media/formats/mpeg/mpeg1_audio_stream_parser.cc
+++ b/media/formats/mpeg/mpeg1_audio_stream_parser.cc
@@ -88,10 +88,9 @@ static const int kSampleRateReserved = 3;
static const int kCodecDelay = 529;
// static
-bool MPEG1AudioStreamParser::ParseHeader(
- const scoped_refptr<MediaLog>& media_log,
- const uint8_t* data,
- Header* header) {
+bool MPEG1AudioStreamParser::ParseHeader(MediaLog* media_log,
+ const uint8_t* data,
+ Header* header) {
BitReader reader(data, kHeaderSize);
int sync;
int version;

Powered by Google App Engine
This is Rietveld 408576698