diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-05 18:25:28 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-05 18:25:28 +0000 |
commit | de73d4dd978cb281dd6e11f3d909e4c44bfa8e35 (patch) | |
tree | 9fd7af0bb3635d0151c9fb3f4410e9d3360c8a67 /libmpdemux/demuxer.h | |
parent | ec7dd2435e025638aa7dcd37c3a43434e0cce06e (diff) |
Another round of subtitle code cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22155 b3059339-0415-0410-9bf9-f77b7e298cf2
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; |