[vlc-commits] [Git][videolan/vlc][master] atsc_a65: NULL return in function returning a bool

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Wed Jul 13 14:40:35 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
79720f46 by Steve Lhomme at 2022-07-13T13:50:19+00:00
atsc_a65: NULL return in function returning a bool

- - - - -


1 changed file:

- modules/codec/atsc_a65.c


Changes:

=====================================
modules/codec/atsc_a65.c
=====================================
@@ -122,7 +122,7 @@ static bool convert_encoding_set( atsc_a65_handle_t *p_handle,
     bool b_ret = true;
 
     if( i_src == 0 )
-        return NULL;
+        return false;
 
     /* First exclude reserved ranges */
     for( unsigned i=0; i<12; i+=2 )



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/79720f46b87e96c93b3b79b399c5cb4ee1b93b8e

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/79720f46b87e96c93b3b79b399c5cb4ee1b93b8e
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list