summaryrefslogtreecommitdiffstats
path: root/demux/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/video.c')
-rw-r--r--demux/video.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/demux/video.c b/demux/video.c
index 089bc852b4..6a9b6b370b 100644
--- a/demux/video.c
+++ b/demux/video.c
@@ -590,7 +590,6 @@ int video_read_frame(sh_video_t* sh_video,float* frame_time_ptr,unsigned char**
}
break;
case DEMUXER_TYPE_LAVF:
- case DEMUXER_TYPE_LAVF_PREFERRED:
if((int)sh_video->fps==1000 || (int)sh_video->fps<=1){
double next_pts = ds_get_next_pts(d_video);
double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1;