[LIBMPG123] Update to version 1.25.8. CORE-14291

This commit is contained in:
Thomas Faber 2018-02-04 16:37:07 +01:00
parent f46b177e11
commit 2f8a7f36f5
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
6 changed files with 52 additions and 28 deletions

View file

@ -356,7 +356,7 @@
#define PACKAGE_NAME "mpg123"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "mpg123 1.25.6"
#define PACKAGE_STRING "mpg123 1.25.8"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "mpg123"
@ -365,7 +365,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "1.25.6"
#define PACKAGE_VERSION "1.25.8"
/* Define if portaudio v18 API is wanted. */
/* #undef PORTAUDIO18 */
@ -398,7 +398,7 @@
/* #undef USE_YASM_FOR_AVX */
/* Version number of package */
#define VERSION "1.25.6"
#define VERSION "1.25.8"
/* Define to use Win32 named pipes */
#define WANT_WIN32_FIFO 1

View file

@ -45,6 +45,7 @@ static unsigned int getbits(mpg123_handle *fr, int number_of_bits)
fprintf(stderr,"g%d",number_of_bits);
#endif
/* Safety catch until we got the nasty code fully figured out. */
/* No, that catch stays here, even if we think we got it figured out! */
if( (long)(fr->wordpointer-fr->bsbuf)*8
+ fr->bitindex+number_of_bits > (long)fr->framesize*8 )
return 0;

View file

@ -78,7 +78,7 @@
#define HDR_CMPMASK (HDR_SYNC|HDR_VERSION|HDR_LAYER|HDR_SAMPLERATE)
/* A stricter mask, for matching free format headers. */
#define HDR_SAMEMASK (HDR_SYNC|HDR_VERSION|HDR_LAYER|HDR_BITRATE|HDR_SAMPLERATE|HDR_CHANNEL|HDR_CHANEX)
#define HDR_SAMEMASK (HDR_SYNC|HDR_VERSION|HDR_LAYER|HDR_BITRATE|HDR_SAMPLERATE|HDR_CHANNEL)
/* Free format headers have zero bitrate value. */
#define HDR_FREE_FORMAT(head) (!(head & HDR_BITRATE))

View file

@ -1,5 +1,5 @@
/*
libmpg123: MPEG Audio Decoder library (version 1.25.6)
libmpg123: MPEG Audio Decoder library (version 1.25.8)
copyright 1995-2015 by the mpg123 project
free software under the terms of the LGPL 2.1