mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
mpegts: remove unused variable
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8aed73c355
commit
b6ffceefb5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue