From 9d89d1d484cde14768ea7eb50bf712c474bd624c Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Thu, 13 Sep 2012 18:03:13 +0200
Subject: [PATCH] swr/resample: mark mm_flags as potentially unused

They are unused when asm is disabled

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libswresample/resample.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswresample/resample.c b/libswresample/resample.c
index 809d847f404..5a82e73875c 100644
--- a/libswresample/resample.c
+++ b/libswresample/resample.c
@@ -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++){
-- 
GitLab