From b267bd3921b03b042b92a9e5fe248f9f4026c34c Mon Sep 17 00:00:00 2001 From: henry Date: Sat, 29 Sep 2007 07:49:02 +0000 Subject: remove useless int->double conversion git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24654 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_lavf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libmpdemux/demux_lavf.c') diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c index 5d1855cd05..b232c2e2cc 100644 --- a/libmpdemux/demux_lavf.c +++ b/libmpdemux/demux_lavf.c @@ -270,9 +270,8 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){ ap.prealloced_context = 1; if(opt_probesize) { - double d = (double) opt_probesize; - opt = av_set_double(avfc, "probesize", opt_probesize); - if(!opt) mp_msg(MSGT_HEADER,MSGL_ERR, "demux_lavf, couldn't set option probesize to %.3f\r\n", d); + opt = av_set_int(avfc, "probesize", opt_probesize); + if(!opt) mp_msg(MSGT_HEADER,MSGL_ERR, "demux_lavf, couldn't set option probesize to %u\n", opt_probesize); } if(demuxer->stream->url) -- cgit v1.2.3