[vlc-commits] misc: medialibrary: convertTracksCommon: add missing negation
Filip Roséen
git at videolan.org
Mon Jul 23 09:15:58 CEST 2018
vlc | branch: master | Filip Roséen <filip at atch.se> | Sat Jul 21 00:08:52 2018 +0200| [4ba0e34a658635d121892b5a42ab2e2a163748ff] | committer: Hugo Beauzée-Luyssen
misc: medialibrary: convertTracksCommon: add missing negation
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4ba0e34a658635d121892b5a42ab2e2a163748ff
---
modules/misc/medialibrary/entities.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/misc/medialibrary/entities.cpp b/modules/misc/medialibrary/entities.cpp
index d8c4d8ca81..f59cabcf04 100644
--- a/modules/misc/medialibrary/entities.cpp
+++ b/modules/misc/medialibrary/entities.cpp
@@ -78,9 +78,9 @@ bool Convert( const medialibrary::IMovie* input, vlc_ml_movie_t& output )
static bool convertTracksCommon( vlc_ml_media_track_t* output, const std::string& codec,
const std::string& language, const std::string& desc )
{
- if( strdup_helper( codec, output->psz_codec ) ||
- strdup_helper( language, output->psz_language ) ||
- strdup_helper( desc, output->psz_description ) )
+ if( !strdup_helper( codec, output->psz_codec ) ||
+ !strdup_helper( language, output->psz_language ) ||
+ !strdup_helper( desc, output->psz_description ) )
return false;
return true;
}
More information about the vlc-commits
mailing list