[MPlayer-cvslog] r25918 - trunk/libmpdemux/demux_audio.c

reimar subversion at mplayerhq.hu
Tue Jan 29 23:04:46 CET 2008


Author: reimar
Date: Tue Jan 29 23:04:46 2008
New Revision: 25918

Log:
Disable reading of flac metadata, mere metadata is not worth such a mess.
If you want this, fix the implementation to not crash at least occasionally,
or wait till I get bored enough to fix it.


Modified:
   trunk/libmpdemux/demux_audio.c

Modified: trunk/libmpdemux/demux_audio.c
==============================================================================
--- trunk/libmpdemux/demux_audio.c	(original)
+++ trunk/libmpdemux/demux_audio.c	Tue Jan 29 23:04:46 2008
@@ -131,6 +131,7 @@ static mp3_hdr_t *add_mp3_hdr(mp3_hdr_t 
   return NULL;
 }
 
+#if 0
 #define FLAC_SIGNATURE_SIZE 4
 #define FLAC_STREAMINFO_SIZE 34
 #define FLAC_SEEKPOINT_SIZE 18
@@ -273,6 +274,7 @@ get_flac_metadata (demuxer_t* demuxer)
     }
   } while ((preamble[0] & 0x80) == 0);
 }
+#endif
 
 static int demux_audio_open(demuxer_t* demuxer) {
   stream_t *s;
@@ -510,7 +512,7 @@ static int demux_audio_open(demuxer_t* d
 	    }
 	    if (sh_audio->i_bps < 1) // guess value to prevent crash
 	      sh_audio->i_bps = 64 * 1024;
-	    get_flac_metadata (demuxer);
+//	    get_flac_metadata (demuxer);
 	    break;
   }
 



More information about the MPlayer-cvslog mailing list