diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index f9cb389aa268b06690967bfdb897575a74da1b77..4199691996bb2e39416682d8cd20c4a5f746cb26 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -856,7 +856,7 @@ static void synth_filter(MPADecodeContext *s1,
 {
     int32_t tmp[32];
     register MPA_INT *synth_buf;
-    const register MPA_INT *w, *w2, *p;
+    register const MPA_INT *w, *w2, *p;
     int j, offset, v;
     int16_t *samples2;
 #if FRAC_BITS <= 15