diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c index 2ba2d9be21..0555cf684a 100644 --- a/ffmpeg_filter.c +++ b/ffmpeg_filter.c @@ -619,6 +619,7 @@ static int sub2video_prepare(InputStream *ist) ist->sub2video.frame = av_frame_alloc(); if (!ist->sub2video.frame) return AVERROR(ENOMEM); + ist->sub2video.last_pts = INT64_MIN; return 0; }