]> git.sesse.net Git - vlc/commitdiff
Add port range to CDDB
authorKaarlo Raiha <kaarlo.raiha@gmail.com>
Mon, 26 Mar 2012 17:00:21 +0000 (19:00 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 26 Mar 2012 17:00:21 +0000 (19:00 +0200)
modules/access/cdda.c

index 2bb4840047f0c558ed1ecd754e62be161b0ac9d0..ac7c8495535060c2fe554a769b5a2dd417bb2fb2 100644 (file)
@@ -79,6 +79,7 @@ vlc_module_begin ()
             N_( "Address of the CDDB server to use." ), true )
     add_integer( "cddb-port", 80, N_( "CDDB port" ),
             N_( "CDDB Server port to use." ), true )
+        change_integer_range( 1, 65535 )
 #endif
 
     add_shortcut( "cdda", "cddasimple" )