Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 271782
Collapse All | Expand All

(-)alsaplayer-0.99.80.orig/input/flac/FlacPlugin.cpp (-2 / +2 lines)
Lines 239-245 Link Here
239
    else
239
    else
240
    {
240
    {
241
	// use stream name
241
	// use stream name
242
	char * fname = strrchr (f->name ().c_str (), '/');
242
	const char * fname = strrchr (f->name ().c_str (), '/');
243
	if (fname)
243
	if (fname)
244
	{
244
	{
245
	    fname++;
245
	    fname++;
Lines 270-276 Link Here
270
	if (strncmp(name, "http://", 7) == 0) {
270
	if (strncmp(name, "http://", 7) == 0) {
271
		return 0.0;
271
		return 0.0;
272
	}
272
	}
273
	char *ext = strrchr(name, '.');
273
	const char *ext = strrchr(name, '.');
274
	if (!ext)
274
	if (!ext)
275
		return 0.0;
275
		return 0.0;
276
	ext++;
276
	ext++;

Return to bug 271782