[FFmpeg-devel] [PATCH 2/3] avcodec/tak: remove unnecessary calls to emms_c()

James Almer jamrial at gmail.com
Sat Feb 21 07:11:34 CET 2015


It's already called by scalarproduct_int16 if required.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/takdec.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 0f808e0..77170b5 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -480,8 +480,6 @@ static int decode_subframe(TAKDecContext *s, int32_t *decoded,
             memcpy(s->residues, &s->residues[y], 2 * filter_order);
     }
 
-    emms_c();
-
     return 0;
 }
 
@@ -641,7 +639,6 @@ static int decorrelate(TAKDecContext *s, int c1, int c2, int length)
             memcpy(s->residues, &s->residues[tmp], 2 * filter_order);
         }
 
-        emms_c();
         break;
     }
     }
-- 
2.3.0



More information about the ffmpeg-devel mailing list