Mercurial > mplayer.hg
changeset 25890:374816d4d565
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.
author | reimar |
---|---|
date | Tue, 29 Jan 2008 22:04:46 +0000 |
parents | 264ca4cd0c8e |
children | d17a6a6d346a |
files | libmpdemux/demux_audio.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c Tue Jan 29 22:00:58 2008 +0000 +++ b/libmpdemux/demux_audio.c Tue Jan 29 22:04:46 2008 +0000 @@ -131,6 +131,7 @@ return NULL; } +#if 0 #define FLAC_SIGNATURE_SIZE 4 #define FLAC_STREAMINFO_SIZE 34 #define FLAC_SEEKPOINT_SIZE 18 @@ -273,6 +274,7 @@ } } while ((preamble[0] & 0x80) == 0); } +#endif static int demux_audio_open(demuxer_t* demuxer) { stream_t *s; @@ -510,7 +512,7 @@ } 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; }