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

(-)libmikmod-3.1.12/playercode/mplayer.c (-1 / +1 lines)
Lines 3012-3018 Link Here
3012
{
3019
{
3013
	MUTEX_LOCK(vars);
3020
	MUTEX_LOCK(vars);
3014
	if (pf)
3021
	if (pf)
3015
		pf->volume=(volume<0)?0:(volume>128)?128:volume;
3022
		pf->volume=pf->initvolume=(volume<0)?0:(volume>128)?128:volume;
3016
	MUTEX_UNLOCK(vars);
3023
	MUTEX_UNLOCK(vars);
3017
}
3024
}
3018
3025
(-)libmikmod-3.1.12/playercode/virtch_common.c (-1 / +1 lines)
Lines 347-353 Link Here
347
347
348
void VC1_SampleUnload(SWORD handle)
348
void VC1_SampleUnload(SWORD handle)
349
{
349
{
350
	if (handle<MAXSAMPLEHANDLES) {
350
	if (Samples && handle<MAXSAMPLEHANDLES) {
351
		if (Samples[handle])
351
		if (Samples[handle])
352
			free(Samples[handle]);
352
			free(Samples[handle]);
353
		Samples[handle]=NULL;
353
		Samples[handle]=NULL;

Return to bug 300525