[vlc-commits] mp4: remove antilogy

Rémi Denis-Courmont git at videolan.org
Sun Jul 14 11:29:46 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 14 12:02:20 2019 +0300| [42266f3cbf4ea910ed28902482b6464f7398461b] | committer: Rémi Denis-Courmont

mp4: remove antilogy

Array cannot compare equal to NULL.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42266f3cbf4ea910ed28902482b6464f7398461b
---

 modules/demux/mp4/essetup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 8ce29b18af..8c00c84929 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -1187,7 +1187,7 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
 
             /* we can only set bitmap for VLC mapping or [re]mapped pcm audio
              * as vlc can't enumerate channels for compressed content */
-            if( i_bps || p_track->rgi_chans_reordering == NULL )
+            if( i_bps )
             {
                 p_track->fmt.audio.i_channels = vlc_popcount(i_vlc_mapping);
                 p_track->fmt.audio.i_physical_channels = i_vlc_mapping;



More information about the vlc-commits mailing list