[vlc-commits] playlist: ram: fix flawed logic
Rémi Denis-Courmont
git at videolan.org
Mon May 22 19:42:57 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon May 22 19:22:53 2017 +0300| [3351cb2b3444e5d08da76ff375ad4d9031ef30af] | committer: Rémi Denis-Courmont
playlist: ram: fix flawed logic
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3351cb2b3444e5d08da76ff375ad4d9031ef30af
---
modules/demux/playlist/ram.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/playlist/ram.c b/modules/demux/playlist/ram.c
index 708a2aac8a..d79b80e798 100644
--- a/modules/demux/playlist/ram.c
+++ b/modules/demux/playlist/ram.c
@@ -75,8 +75,8 @@ int Import_RAM( vlc_object_t *p_this )
const uint8_t *p_peek;
CHECK_FILE();
- if(! demux_IsPathExtension( p_demux, ".ram" ) ||
- demux_IsPathExtension( p_demux, ".rm" ) )
+ if( !demux_IsPathExtension( p_demux, ".ram" )
+ && !demux_IsPathExtension( p_demux, ".rm" ) )
return VLC_EGENERIC;
/* Many Real Media Files are misdetected */
More information about the vlc-commits
mailing list