diff options
Diffstat (limited to 'libmpdemux/demuxer.h')
-rw-r--r-- | libmpdemux/demuxer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index 4aa4a5da1d..e3973fde88 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -85,6 +85,7 @@ typedef struct demux_packet_st { int len; double pts; + double endpts; double stream_pts; off_t pos; // position in index (AVI) or file (MPG) unsigned char* buffer; @@ -212,6 +213,7 @@ inline static demux_packet_t* new_demux_packet(int len){ // still using 0 by default in case there is some code that uses 0 for both // unknown and a valid pts value dp->pts=correct_pts ? MP_NOPTS_VALUE : 0; + dp->endpts=MP_NOPTS_VALUE; dp->stream_pts = MP_NOPTS_VALUE; dp->pos=0; dp->flags=0; |