[FFmpeg-cvslog] mpegts: remove unused variable

Jean First git at videolan.org
Sat Dec 31 02:28:44 CET 2011


ffmpeg | branch: master | Jean First <jeanfirst at gmail.com> | Fri Dec 30 21:08:08 2011 +0100| [b6ffceefb5f47843a87e8f71285206c00a39bb56] | committer: Michael Niedermayer

mpegts: remove unused variable

Signed-off-by: Jean First <jeanfirst at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b6ffceefb5f47843a87e8f71285206c00a39bb56
---

 libavformat/mpegts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 3f15479..8c1c557 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -2132,7 +2132,7 @@ static int64_t mpegts_get_dts(AVFormatContext *s, int stream_index,
                               int64_t *ppos, int64_t pos_limit)
 {
     MpegTSContext *ts = s->priv_data;
-    int64_t pos, timestamp;
+    int64_t pos;
     pos = ((*ppos  + ts->raw_packet_size - 1 - ts->pos47) / ts->raw_packet_size) * ts->raw_packet_size + ts->pos47;
     ff_read_frame_flush(s);
     if (avio_seek(s->pb, pos, SEEK_SET) < 0)



More information about the ffmpeg-cvslog mailing list