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

(-)libmpcodecs/ad_liba52.c (+4 lines)
Lines 288-293 Link Here
288
    sample_t level=a52_level, bias=384;
288
    sample_t level=a52_level, bias=384;
289
    int flags=a52_flags|A52_ADJUST_LEVEL;
289
    int flags=a52_flags|A52_ADJUST_LEVEL;
290
    int i,len=-1;
290
    int i,len=-1;
291
	if (maxlen / sh_audio->samplesize / 256 / sh_audio->channels < 6) {
292
	    mp_msg(MSGT_DECAUDIO, MSGL_V, "maxlen too small in decode_audio\n");
293
	    return len;
294
	}
291
	if (sh_audio->sample_format == AF_FORMAT_FLOAT_NE)
295
	if (sh_audio->sample_format == AF_FORMAT_FLOAT_NE)
292
	    bias = 0;
296
	    bias = 0;
293
	if(!sh_audio->a_in_buffer_len) 
297
	if(!sh_audio->a_in_buffer_len) 

Return to bug 120313