projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f23d8
)
mpegts: use seek_back() for all seek backs
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 30 Jun 2013 13:46:04 +0000
(15:46 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 30 Jun 2013 14:23:50 +0000
(16:23 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c
patch
|
blob
|
history
diff --git
a/libavformat/mpegts.c
b/libavformat/mpegts.c
index
e2e734e
..
2048ad8
100644
(file)
--- a/
libavformat/mpegts.c
+++ b/
libavformat/mpegts.c
@@
-2080,7
+2080,7
@@
static int mpegts_read_header(AVFormatContext *s)
st->start_time / 1000000.0, pcrs[0] / 27e6, ts->pcr_incr);
}
-
avio_seek(pb, pos, SEEK_SET
);
+
seek_back(s, pb, pos
);
return 0;
fail:
return -1;