Index: media/filters/h264_parser.h |
diff --git a/media/filters/h264_parser.h b/media/filters/h264_parser.h |
index 36467ba93844efec0a7d88d5600c1cdd62db9512..389fe0d163cf63a11c474952f5638c800cecef2b 100644 |
--- a/media/filters/h264_parser.h |
+++ b/media/filters/h264_parser.h |
@@ -386,8 +386,8 @@ class MEDIA_EXPORT H264Parser { |
// Return a pointer to SPS/PPS with given |sps_id|/|pps_id| or NULL if not |
// present. |
- const H264SPS* GetSPS(int sps_id); |
- const H264PPS* GetPPS(int pps_id); |
+ const H264SPS* GetSPS(int sps_id) const; |
+ const H264PPS* GetPPS(int pps_id) const; |
// Slice headers and SEI messages are not used across NALUs by the parser |
// and can be discarded after current NALU, so the parser does not store |