summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-21 16:10:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-21 18:06:18 +0200
commit04ac0d7994d5b8a06ff2f5fa9571d52d3caa4162 (patch)
tree4e118deea16462651acf19a79233f03c5e00b63e /libavformat
parente2c213328b8297a9706b6c5cc712368e0d3e2947 (diff)
mpegts: fix type of argument of mpegts_resync()
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 65cae042be..8c74ccbef0 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -1744,7 +1744,7 @@ static int64_t mpegts_get_pcr(AVFormatContext *s, int stream_index,
if (avio_read(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
return AV_NOPTS_VALUE;
if (buf[0] != 0x47) {
- if (mpegts_resync(s->pb) < 0)
+ if (mpegts_resync(s) < 0)
return AV_NOPTS_VALUE;
pos = url_ftell(s->pb);
continue;