print track IDs from 1 instead of 0 in error messages

This commit is contained in:
aler9
2022-02-12 16:34:30 +01:00
parent 8e0b393a47
commit 9627570643
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ func TestTracksReadErrors(t *testing.T) {
"a=rtpmap:97 mpeg4-generic/44100/2\r\n" +
"a=fmtp:97 profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=zzz1210\r\n" +
"a=control:streamid=1\r\n"),
"unable to parse track 1: invalid AAC config (zzz1210)",
"unable to parse track 2: invalid AAC config (zzz1210)",
},
} {
t.Run(ca.name, func(t *testing.T) {