summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-29 07:49:02 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-29 07:49:02 +0000
commitb267bd3921b03b042b92a9e5fe248f9f4026c34c (patch)
tree94155db59cb98ec7510491d067415976f50cd9e2 /libmpdemux
parent9b94c1387a07cb2c99a4b9716b19724584b03824 (diff)
downloadmpv-b267bd3921b03b042b92a9e5fe248f9f4026c34c.tar.bz2
mpv-b267bd3921b03b042b92a9e5fe248f9f4026c34c.tar.xz
remove useless int->double conversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24654 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_lavf.c5
1 files changed, 2 insertions, 3 deletions
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)