remove useless int->double conversion

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24654 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2007-09-29 07:49:02 +00:00
parent 9b94c1387a
commit b267bd3921
1 changed files with 2 additions and 3 deletions

View File

@ -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)