From c878a14a338cdabbf00ada75bf265a57d544afc4 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Fri, 2 Jan 2015 14:06:07 +0100 Subject: [PATCH] cdrom.c: code cosmetic and includes removal --- modules/access/vcd/cdrom.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c index efa3cd2fa3..a4a8bd438d 100644 --- a/modules/access/vcd/cdrom.c +++ b/modules/access/vcd/cdrom.c @@ -46,15 +46,13 @@ #include #include #include -#ifdef HAVE_ARPA_INET_H -# include -#endif +#include #include #include #include #include -#include +#include #if defined( SYS_BSDI ) # include @@ -141,7 +139,6 @@ exit_free: #include "cdrom_internals.h" #include "cdrom.h" -#include /***************************************************************************** * ioctl_Open: Opens a VCD device or file and returns an opaque handle @@ -821,7 +818,7 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev, msg_Dbg( p_this,"guessing vcd image file: %s", psz_vcdfile ); p_vcddev->i_vcdimage_handle = vlc_open( psz_vcdfile, O_RDONLY | O_NONBLOCK | O_BINARY ); - + while( fgets( line, 1024, cuefile ) && !b_found ) { /* We have a cue file, but no valid vcd file yet */ -- 2.39.2