Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff
mp3info
mp3info-bitrate-segv.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mp3info-bitrate-segv.diff of Package mp3info
Index: mp3info-0.8.5a/mp3tech.c =================================================================== --- mp3info-0.8.5a.orig/mp3tech.c +++ mp3info-0.8.5a/mp3tech.c @@ -262,9 +262,12 @@ int frame_length(mp3header *header) { int header_layer(mp3header *h) {return layer_tab[h->layer];} int header_bitrate(mp3header *h) { - return bitrate[h->version & 1][3-h->layer][h->bitrate]; + if (h->bitrate) + return bitrate[h->version & 1][3-h->layer][h->bitrate]; + else + return 128; } int header_frequency(mp3header *h) { return frequencies[h->version][h->freq];
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor