Switch AddFrame parameter to const.
Change-Id: I4ae4ac3a57f91eb19a7bb1b1d1c63fe64128efe2
This commit is contained in:
parent
32227e70c1
commit
23808a7ba4
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user