[MPlayer-cvslog] r24654 - trunk/libmpdemux/demux_lavf.c

henry subversion at mplayerhq.hu
Sat Sep 29 09:49:02 CEST 2007


Author: henry
Date: Sat Sep 29 09:49:02 2007
New Revision: 24654

Log:
remove useless int->double conversion

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	(original)
+++ trunk/libmpdemux/demux_lavf.c	Sat Sep 29 09:49:02 2007
@@ -270,9 +270,8 @@ static demuxer_t* demux_open_lavf(demuxe
 
     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)



More information about the MPlayer-cvslog mailing list