[FFmpeg-cvslog] r19546 - trunk/libavformat/mpegts.c
bcoudurier
subversion
Thu Jul 30 20:29:06 CEST 2009
Author: bcoudurier
Date: Thu Jul 30 20:29:06 2009
New Revision: 19546
Log:
init pes dts and pts to AV_NOPTS_VALUE, fix issue #1297
Modified:
trunk/libavformat/mpegts.c
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c Thu Jul 30 19:31:28 2009 (r19545)
+++ trunk/libavformat/mpegts.c Thu Jul 30 20:29:06 2009 (r19546)
@@ -1061,6 +1061,8 @@ static PESContext *add_pes_stream(MpegTS
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);
More information about the ffmpeg-cvslog
mailing list