[FFmpeg-cvslog] mpegts: fix type of argument of mpegts_resync()

Michael Niedermayer git at videolan.org
Fri Oct 21 18:08:54 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct 21 16:10:16 2011 +0200| [04ac0d7994d5b8a06ff2f5fa9571d52d3caa4162] | committer: Michael Niedermayer

mpegts: fix type of argument of mpegts_resync()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 65cae04..8c74ccb 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;



More information about the ffmpeg-cvslog mailing list