summaryrefslogtreecommitdiffstats
path: root/demux/demux_lavf.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_lavf.c')
-rw-r--r--demux/demux_lavf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c
index aa3b6c24f2..7f4e3a1b3d 100644
--- a/demux/demux_lavf.c
+++ b/demux/demux_lavf.c
@@ -402,7 +402,6 @@ static void handle_stream(demuxer_t *demuxer, int i)
av_q2d(st->codec->time_base) *
st->codec->ticks_per_frame);
sh_video->fps = fps;
- sh_video->frametime = 1 / fps;
if (st->sample_aspect_ratio.num)
sh_video->aspect = codec->width * st->sample_aspect_ratio.num
/ (float)(codec->height * st->sample_aspect_ratio.den);