Valid sample_fmt will be set by dcadec_decode_frame() based on stream
type.
---
 libavcodec/dcadec.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index e3a4b0d..565242d 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -374,9 +374,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;
 }
 
-- 
2.8.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to