Revision 29ddf27b audio/ossaudio.c

b/audio/ossaudio.c
254 254
        goto err;
255 255
    }
256 256

  
257
    if (!abinfo.fragstotal || !abinfo.fragsize) {
258
        AUD_log (AUDIO_CAP, "Returned bogus buffer information(%d, %d) for %s\n",
259
                 abinfo.fragstotal, abinfo.fragsize, typ);
260
        goto err;
261
    }
262

  
257 263
    obt->fmt = fmt;
258 264
    obt->nchannels = nchannels;
259 265
    obt->freq = freq;

Also available in: Unified diff