[LIBMPG123] Update to version 1.25.13. CORE-16550

This commit is contained in:
Thomas Faber 2019-12-08 12:52:31 +01:00
parent f87faf6703
commit e85f436a50
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
4 changed files with 7 additions and 5 deletions

View 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. */