Revision 3d0ef6dd libavcodec/liba52/resample.c

View differences:

libavcodec/liba52/resample.c
24 24
    if(mm_accel&MM_ACCEL_X86_MMX){
25 25
	tmp=a52_resample_MMX(flags,chans);
26 26
	if(tmp){
27
	    if(a52_resample==NULL) fprintf(stderr, "Using MMX optimized resampler\n");
27
	    if(a52_resample==NULL) av_log(NULL, AV_LOG_INFO, "Using MMX optimized resampler\n");
28 28
	    a52_resample=tmp;
29 29
	    return tmp;
30 30
	}
......
33 33

  
34 34
    tmp=a52_resample_C(flags,chans);
35 35
    if(tmp){
36
	if(a52_resample==NULL) fprintf(stderr, "No accelerated resampler found\n");
36
	if(a52_resample==NULL) av_log(NULL, AV_LOG_INFO, "No accelerated resampler found\n");
37 37
	a52_resample=tmp;
38 38
	return tmp;
39 39
    }
40 40
    
41
    fprintf(stderr, "Unimplemented resampler for mode 0x%X -> %d channels conversion - Contact MPlayer developers!\n", flags, chans);
41
    av_log(NULL, AV_LOG_ERROR, "Unimplemented resampler for mode 0x%X -> %d channels conversion - Contact MPlayer developers!\n", flags, chans);
42 42
    return NULL;
43 43
}

Also available in: Unified diff