demux: mp4: don't show error with no audio config fixup
authorFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 11 Jul 2016 16:59:58 +0000 (18:59 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 11 Jul 2016 17:00:52 +0000 (19:00 +0200)
modules/demux/mp4/essetup.c

index 939d72b..a04cb04 100644 (file)
@@ -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;
     }