OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b9df20
)
mpegts: Reset continuity counter on seek
author
Zohar Kelrich
<lumimies@gmail.com>
Sun, 24 Jul 2011 08:13:50 +0000
(11:13 +0300)
committer
Luca Barbato
<lu_zero@gentoo.org>
Tue, 2 Aug 2011 00:43:22 +0000
(
02:43
+0200)
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/mpegts.c
patch
|
blob
|
history
diff --git
a/libavformat/mpegts.c
b/libavformat/mpegts.c
index
13b3117
..
f3b76aa
100644
(file)
--- a/
libavformat/mpegts.c
+++ b/
libavformat/mpegts.c
@@
-1625,6
+1625,7
@@
static int mpegts_read_packet(AVFormatContext *s,
if (ts->pids[i] && ts->pids[i]->type == MPEGTS_PES) {
PESContext *pes = ts->pids[i]->u.pes_filter.opaque;
av_freep(&pes->buffer);
+ ts->pids[i]->last_cc = -1;
pes->data_index = 0;
pes->state = MPEGTS_SKIP; /* skip until pes header */
}