diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c
index 64ab707fd3e78ba317370666e87d34b4a444a1f0..941d065127a407250c8c9d06a28fef2e2d8bfa35 100644
--- a/libavcodec/amrwbdec.c
+++ b/libavcodec/amrwbdec.c
@@ -1233,5 +1233,5 @@ AVCodec amrwb_decoder = {
     .init           = amrwb_decode_init,
     .decode         = amrwb_decode_frame,
     .long_name      = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate WideBand"),
-    .sample_fmts    = (enum SampleFormat[]){SAMPLE_FMT_FLT,SAMPLE_FMT_NONE},
+    .sample_fmts    = (enum AVSampleFormat[]){SAMPLE_FMT_FLT,SAMPLE_FMT_NONE},
 };