[vlc-commits] access: vcd: cdrom: extensions are case-insensitive
Filip Roséen
git at videolan.org
Wed Jul 25 11:17:03 CEST 2018
vlc | branch: master | Filip Roséen <filip at atch.se> | Wed Jul 25 03:50:51 2018 +0200| [ec0eb509633ac13bab87a05fdfadaa3fa0831d9b] | committer: Jean-Baptiste Kempf
access: vcd: cdrom: extensions are case-insensitive
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ec0eb509633ac13bab87a05fdfadaa3fa0831d9b
---
modules/access/vcd/cdrom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c
index 732d7f3614..7b2b945fb8 100644
--- a/modules/access/vcd/cdrom.c
+++ b/modules/access/vcd/cdrom.c
@@ -773,7 +773,7 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev,
/* Check if we are dealing with a .cue file */
p_pos = strrchr( psz_dev, '.' );
- if( p_pos && !strcmp( p_pos, ".cue" ) )
+ if( p_pos && !strcasecmp( p_pos, ".cue" ) )
{
/* psz_dev must be the cue file. Let's assume there's a .bin
* file with the same filename */
More information about the vlc-commits
mailing list