[FFmpeg-cvslog] swr/resample: mark mm_flags as potentially unused

Michael Niedermayer git at videolan.org
Thu Sep 13 19:36:17 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Sep 13 18:03:13 2012 +0200| [9d89d1d484cde14768ea7eb50bf712c474bd624c] | committer: Michael Niedermayer

swr/resample: mark mm_flags as potentially unused

They are unused when asm is disabled

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d89d1d484cde14768ea7eb50bf712c474bd624c
---

 libswresample/resample.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswresample/resample.c b/libswresample/resample.c
index 809d847..5a82e73 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++){



More information about the ffmpeg-cvslog mailing list