Skip to content

Commit

Permalink
corrected fix to hlsparser by Sheen Tian (March 5, 2020) (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
fduncanh authored Jul 18, 2024
1 parent edaef72 commit e7aba62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions third-party/hlsparser/parse_tags.c
Original file line number Diff line number Diff line change
Expand Up @@ -1441,8 +1441,7 @@ int parse_start(const char *src, size_t size, start_t *dest) {
if (EQUAL(pt, TIMEOFFSET)) {
++pt; // get past the '=' sign
float *value = dest ? &dest->time_offset : NULL;
(void)value;
pt += parse_str_to_float(pt, &dest->time_offset, size - (pt - src));
pt += parse_str_to_float(pt, value, size - (pt - src));
} else if (EQUAL(pt, PRECISE)) {
++pt; // get past the '=' sign
if (EQUAL(pt, YES)) {
Expand Down

0 comments on commit e7aba62

Please sign in to comment.