OSDN Git Service

[libmpg123] Update libmpg123 to 1.25.13
authorStarg <starg@users.osdn.me>
Sun, 10 Nov 2019 15:56:53 +0000 (00:56 +0900)
committerStarg <starg@users.osdn.me>
Sun, 10 Nov 2019 15:56:53 +0000 (00:56 +0900)
libmpg123/src/config.h
libmpg123/src/libmpg123/parse.c

index 6e6f690..ca8733d 100644 (file)
@@ -8,8 +8,7 @@
 #define HAVE_STRDUP
 #define HAVE_STDLIB_H
 #define HAVE_STDINT_H
-//#define HAVE_INTTYPES_H
-#define HAVE_SYS_STAT_H
+#define HAVE_INTTYPES_H
 #define HAVE_STRING_H
 
 #ifdef _M_ARM
@@ -41,4 +40,3 @@
 
 /* use the unicode support within libmpg123 */
 #define WANT_WIN32_UNICODE
-
index 8bd6792..1049a09 100644 (file)
@@ -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. */