[vlc-commits] demux: mp4: don't show error with no audio config fixup

Francois Cartegnie git at videolan.org
Mon Jul 11 19:01:05 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jul 11 18:59:58 2016 +0200| [f5673b345365c5ecb1bf4d27e38f0d38e6fd76ee] | committer: Francois Cartegnie

demux: mp4: don't show error with no audio config fixup

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

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

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 939d72b..a04cb04 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -1043,7 +1043,8 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
         }
 
         default:
-            msg_Dbg( p_demux, "Unrecognized FourCC %4.4s", (char *)&p_sample->i_type );
+            if(p_track->fmt.i_codec == 0)
+                msg_Dbg( p_demux, "Unrecognized FourCC %4.4s", (char *)&p_sample->i_type );
             break;
     }
 



More information about the vlc-commits mailing list