Skip to content

Commit

Permalink
mp3: Probe order after formwats with raw samples and similar sync hea…
Browse files Browse the repository at this point in the history
…ders
  • Loading branch information
wader committed Sep 28, 2021
1 parent 577c0f5 commit 8a4f66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format/mp3/mp3.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var mp3Frame []*decode.Format
func init() {
registry.MustRegister(&decode.Format{
Name: format.MP3,
ProbeOrder: 10, // after most others (overlap some with other formats)
ProbeOrder: 20, // after most others (silent samples and jpeg header can look like mp3 sync)
Description: "MP3 file",
Groups: []string{format.PROBE},
DecodeFn: mp3Decode,
Expand Down

0 comments on commit 8a4f66f

Please sign in to comment.