diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index f31b658ddf04097d7ff9d6d9a7e438578df80523..417632f7e57ee8199fba9e8a777935fd82e8e223 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -378,9 +378,6 @@ static av_cold int dcadec_init(AVCodecContext *avctx)
         break;
     }
 
-    avctx->sample_fmt = AV_SAMPLE_FMT_S32P;
-    avctx->bits_per_raw_sample = 24;
-
     return 0;
 }