Mercurial > libavformat.hg
diff mpegts.c @ 5121:84b8032a5227 libavformat
init pes dts and pts to AV_NOPTS_VALUE, fix issue #1297
| author | bcoudurier |
|---|---|
| date | Thu, 30 Jul 2009 18:29:06 +0000 |
| parents | c4e22fecdcaa |
| children | 9c846d0a6803 |
line wrap: on
line diff
--- a/mpegts.c Thu Jul 30 15:05:33 2009 +0000 +++ b/mpegts.c Thu Jul 30 18:29:06 2009 +0000 @@ -1061,6 +1061,8 @@ pes->pcr_pid = pcr_pid; pes->stream_type = stream_type; pes->state = MPEGTS_SKIP; + pes->pts = AV_NOPTS_VALUE; + pes->dts = AV_NOPTS_VALUE; tss = mpegts_open_pes_filter(ts, pid, mpegts_push_data, pes); if (!tss) { av_free(pes);
