diff options
author | wm4 <wm4@nowhere> | 2013-07-11 19:21:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-11 19:21:45 +0200 |
commit | a6706c41d8d89bc1a72dd21e215885e79a766db2 (patch) | |
tree | 972ce7787bd5b96c704e89dfe7d8553ad768da2b /demux/demux_lavf.c | |
parent | 6f6632b8dd9273a3cbc8e3e0d69e1d3dceed6f45 (diff) | |
download | mpv-a6706c41d8d89bc1a72dd21e215885e79a766db2.tar.bz2 mpv-a6706c41d8d89bc1a72dd21e215885e79a766db2.tar.xz |
video: eliminate frametime variable
Diffstat (limited to 'demux/demux_lavf.c')
-rw-r--r-- | demux/demux_lavf.c | 1 |
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); |