[MPlayer-cvslog] r23008 - trunk/libmpdemux/demux_lavf.c

reimar subversion at mplayerhq.hu
Mon Apr 16 22:08:29 CEST 2007


Author: reimar
Date: Mon Apr 16 22:08:29 2007
New Revision: 23008

Modified:
   trunk/libmpdemux/demux_lavf.c

Log:
Ignore mp4a audio tag, it is meaning since we get it for all mp4 files
regardless of actual audio codec.


Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	(original)
+++ trunk/libmpdemux/demux_lavf.c	Mon Apr 16 22:08:29 2007
@@ -309,6 +309,9 @@ static demuxer_t* demux_open_lavf(demuxe
                 break;
             priv->astreams[priv->audio_streams] = i;
             priv->audio_streams++;
+            // mp4a tag is used for all mp4 files no matter what they actually contain
+            if(codec->codec_tag == MKTAG('m', 'p', '4', 'a'))
+                codec->codec_tag= 0;
             if(!codec->codec_tag)
                 codec->codec_tag= av_codec_get_tag(mp_wav_taglists, codec->codec_id);
             wf->wFormatTag= codec->codec_tag;



More information about the MPlayer-cvslog mailing list