Skip to content

Commit

Permalink
sync2c: accept dec/hex numbers (backported from d350183)
Browse files Browse the repository at this point in the history
  • Loading branch information
cahirwpz committed Dec 16, 2023
1 parent d2bb2fc commit c12ed56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sync2c/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func parseFrame(token string) (frame int64, err error) {
}

func parseValue(token string) (value int64, err error) {
return strconv.ParseInt(token, 10, 16)
return strconv.ParseInt(token, 0, 16)
}

func parseTrack(tokens []string, track *Track) (err error) {
Expand Down

0 comments on commit c12ed56

Please sign in to comment.