swr/resample: mark mm_flags as potentially unused
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 13 Sep 2012 16:03:13 +0000 (18:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 13 Sep 2012 17:31:02 +0000 (19:31 +0200)
They are unused when asm is disabled

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/resample.c

index 809d847..5a82e73 100644 (file)
@@ -419,7 +419,7 @@ int swr_set_compensation(struct SwrContext *s, int sample_delta, int compensatio
 
 int swri_multiple_resample(ResampleContext *c, AudioData *dst, int dst_size, AudioData *src, int src_size, int *consumed){
     int i, ret= -1;
-    int mm_flags = av_get_cpu_flags();
+    int av_unused mm_flags = av_get_cpu_flags();
     int need_emms= 0;
 
     for(i=0; i<dst->ch_count; i++){