]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp3_afh.c: Fix header_bitrate() for invalid headers
authorAndre Noll <maan@systemlinux.org>
Fri, 23 Mar 2007 17:42:45 +0000 (18:42 +0100)
committerAndre Noll <maan@systemlinux.org>
Fri, 23 Mar 2007 17:42:45 +0000 (18:42 +0100)
commit2416ea6856cb36d064a079cc5e9674383c8b2eae
treeca55d970eb336d4afdf79f5b27a00f41d9a3146b
parent4d6ce5632164bfcbdca74dd3d1bb0c1e35917938
mp3_afh.c: Fix header_bitrate() for invalid headers

This was broken literally since day 1: If the layer or the bitrate
parameter of an (invalid) header is zero, the old code might cause
a segfault.
mp3_afh.c