You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2015/06/13 21:56:32 UTC
trafficserver git commit: TS-3282: Remove dead store/increment
Repository: trafficserver
Updated Branches:
refs/heads/master 2c3f87907 -> fc9868148
TS-3282: Remove dead store/increment
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/fc986814
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/fc986814
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/fc986814
Branch: refs/heads/master
Commit: fc9868148dfc9a150aac14004de2d0a2b69057ab
Parents: 2c3f879
Author: Phil Sorber <so...@apache.org>
Authored: Sat Jun 13 13:56:08 2015 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Sat Jun 13 13:56:08 2015 -0600
----------------------------------------------------------------------
plugins/experimental/mp4/mp4_meta.cc | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/fc986814/plugins/experimental/mp4/mp4_meta.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/mp4/mp4_meta.cc b/plugins/experimental/mp4/mp4_meta.cc
index cd7c993..49f1229 100644
--- a/plugins/experimental/mp4/mp4_meta.cc
+++ b/plugins/experimental/mp4/mp4_meta.cc
@@ -1023,7 +1023,6 @@ Mp4Meta::mp4_update_stts_atom(Mp4Trak *trak)
if (start_time < (uint64_t)count * duration) {
pass = (uint32_t)(start_time / duration);
start_sample += pass;
- count -= pass;
goto found;
}
@@ -1216,7 +1215,6 @@ Mp4Meta::mp4_update_stsc_atom(Mp4Trak *trak)
return -1;
start_sample = (uint32_t)trak->start_sample;
- entries = trak->sample_to_chunk_entries - 1;
readerp = TSIOBufferReaderClone(trak->stsc_data.reader);