summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2011-12-30 21:08:08 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-31 02:27:11 +0100
commitb6ffceefb5f47843a87e8f71285206c00a39bb56 (patch)
tree24c7a52368b6f735b4f6d91391ecb95d69eebe82 /libavformat
parent8aed73c355f71c4a4d1e3d750d73a137150eebea (diff)
mpegts: remove unused variable
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 3f154796fa..8c1c557050 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)