Switch AddFrame parameter to const.

Change-Id: I4ae4ac3a57f91eb19a7bb1b1d1c63fe64128efe2
This commit is contained in:
Frank Galligan 2011-10-27 13:21:04 -04:00
parent 32227e70c1
commit 23808a7ba4
2 changed files with 2 additions and 2 deletions

View File

@ -1283,7 +1283,7 @@ uint64 Segment::AddAudioTrack(int32 sample_rate,
return aud_track->number(); return aud_track->number();
} }
bool Segment::AddFrame(uint8* frame, bool Segment::AddFrame(const uint8* frame,
uint64 length, uint64 length,
uint64 track_number, uint64 track_number,
uint64 timestamp, uint64 timestamp,

View File

@ -550,7 +550,7 @@ class Segment {
// functions. // functions.
// timestamp: Timestamp of the frame in nanoseconds from 0. // timestamp: Timestamp of the frame in nanoseconds from 0.
// is_key: Flag telling whether or not this frame is a key frame. // is_key: Flag telling whether or not this frame is a key frame.
bool AddFrame(uint8* frame, bool AddFrame(const uint8* frame,
uint64 length, uint64 length,
uint64 track_number, uint64 track_number,
uint64 timestamp, uint64 timestamp,