summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 4df25a5010..fdb3b1c90b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1801,7 +1801,7 @@ static int generate_video_frame(sh_video_t *sh_video, demux_stream_t *d_video)
if (in_size < 0) {
// try to extract last frames in case of decoder lag
in_size = 0;
- pts = 1e300;
+ pts = MP_NOPTS_VALUE;
hit_eof = 1;
}
if (in_size > max_framesize)