mkvmuxer: remove unused timecode_scale variable
unused in WriteFramesAll() / WriteFramesLessThan() since:
d6d04ac mkvmuxer: use generic Cluster::AddFrame
Change-Id: I2089dc24b6a942f342b278b46271c6144cf8351e
This commit is contained in:
@@ -2945,8 +2945,6 @@ int Segment::WriteFramesAll() {
|
|||||||
if (!cluster)
|
if (!cluster)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
const uint64 timecode_scale = segment_info_.timecode_scale();
|
|
||||||
|
|
||||||
for (int32 i = 0; i < frames_size_; ++i) {
|
for (int32 i = 0; i < frames_size_; ++i) {
|
||||||
Frame*& frame = frames_[i];
|
Frame*& frame = frames_[i];
|
||||||
// TODO(jzern/vigneshv): using Segment::AddGenericFrame here would limit the
|
// TODO(jzern/vigneshv): using Segment::AddGenericFrame here would limit the
|
||||||
@@ -2988,7 +2986,6 @@ bool Segment::WriteFramesLessThan(uint64 timestamp) {
|
|||||||
if (!cluster)
|
if (!cluster)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
const uint64 timecode_scale = segment_info_.timecode_scale();
|
|
||||||
int32 shift_left = 0;
|
int32 shift_left = 0;
|
||||||
|
|
||||||
// TODO(fgalligan): Change this to use the durations of frames instead of
|
// TODO(fgalligan): Change this to use the durations of frames instead of
|
||||||
|
|||||||
Reference in New Issue
Block a user