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

Unified Diff: media/formats/mpeg/adts_stream_parser.h

Issue 2378443002: Fix MSE ADTS parsing on Android. (Closed)
Patch Set: Address comments. Created 4 years, 3 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/formats/mpeg/adts_header_parser.cc ('k') | media/formats/mpeg/adts_stream_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mpeg/adts_stream_parser.h
diff --git a/media/formats/mpeg/adts_stream_parser.h b/media/formats/mpeg/adts_stream_parser.h
index d22a3b98a922fc36cf922c6586348a67eafc7ddd..b25f72a0cdfa269a785767b37a953f3a823a8a48 100644
--- a/media/formats/mpeg/adts_stream_parser.h
+++ b/media/formats/mpeg/adts_stream_parser.h
@@ -18,7 +18,6 @@ class MEDIA_EXPORT ADTSStreamParser : public MPEGAudioStreamParserBase {
ADTSStreamParser();
~ADTSStreamParser() override;
- private:
// MPEGAudioStreamParserBase overrides.
int ParseFrameHeader(const uint8_t* data,
int size,
@@ -26,8 +25,10 @@ class MEDIA_EXPORT ADTSStreamParser : public MPEGAudioStreamParserBase {
int* sample_rate,
ChannelLayout* channel_layout,
int* sample_count,
- bool* metadata_frame) const override;
+ bool* metadata_frame,
+ std::vector<uint8_t>* extra_data) const override;
+ private:
DISALLOW_COPY_AND_ASSIGN(ADTSStreamParser);
};
« no previous file with comments | « media/formats/mpeg/adts_header_parser.cc ('k') | media/formats/mpeg/adts_stream_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698