https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e85f436a5002af3cbc858…
commit e85f436a5002af3cbc85817a74ab83a46d41b372
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sun Dec 8 12:52:31 2019 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sun Dec 8 16:50:00 2019 +0100
[LIBMPG123] Update to version 1.25.13. CORE-16550
---
media/doc/3rd Party Files.txt | 2 +-
sdk/include/reactos/libs/libmpg123/config.h | 6 +++---
sdk/include/reactos/libs/libmpg123/mpg123.h | 2 +-
sdk/lib/3rdparty/libmpg123/parse.c | 2 ++
4 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/media/doc/3rd Party Files.txt b/media/doc/3rd Party Files.txt
index c9c06ee34a9..5868eb95bbe 100644
--- a/media/doc/3rd Party Files.txt
+++ b/media/doc/3rd Party Files.txt
@@ -63,7 +63,7 @@ Used Version: 0.1.9
Website: http://www.mega-nerd.com/SRC/download.html
Title: libmpg123 (used by winemp3.acm)
-Used Version: 1.25.12
+Used Version: 1.25.13
Website: http://www.mpg123.de/
Title: STLport
diff --git a/sdk/include/reactos/libs/libmpg123/config.h b/sdk/include/reactos/libs/libmpg123/config.h
index 9da8e899bab..81c2bbea5cb 100644
--- a/sdk/include/reactos/libs/libmpg123/config.h
+++ b/sdk/include/reactos/libs/libmpg123/config.h
@@ -356,7 +356,7 @@
#define PACKAGE_NAME "mpg123"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "mpg123 1.25.12"
+#define PACKAGE_STRING "mpg123 1.25.13"
/* 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.12"
+#define PACKAGE_VERSION "1.25.13"
/* 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.12"
+#define VERSION "1.25.13"
/* Define to use Win32 named pipes */
#define WANT_WIN32_FIFO 1
diff --git a/sdk/include/reactos/libs/libmpg123/mpg123.h b/sdk/include/reactos/libs/libmpg123/mpg123.h
index e830ba33993..8c10bf2f242 100644
--- a/sdk/include/reactos/libs/libmpg123/mpg123.h
+++ b/sdk/include/reactos/libs/libmpg123/mpg123.h
@@ -1,5 +1,5 @@
/*
- libmpg123: MPEG Audio Decoder library (version 1.25.12)
+ libmpg123: MPEG Audio Decoder library (version 1.25.13)
copyright 1995-2015 by the mpg123 project
free software under the terms of the LGPL 2.1
diff --git a/sdk/lib/3rdparty/libmpg123/parse.c b/sdk/lib/3rdparty/libmpg123/parse.c
index 8bd679278b2..1049a0938f3 100644
--- a/sdk/lib/3rdparty/libmpg123/parse.c
+++ b/sdk/lib/3rdparty/libmpg123/parse.c
@@ -509,6 +509,8 @@ int read_frame(mpg123_handle *fr)
if(halfspeed_do(fr) == 1) return 1;
+ /* From now on, old frame data is tainted by parsing attempts. */
+ fr->to_decode = fr->to_ignore = FALSE;
read_again:
/* In case we are looping to find a valid frame, discard any buffered data before the current position.
This is essential to prevent endless looping, always going back to the beginning when feeder buffer is exhausted. */