Commit 39f7620d authored by foo86's avatar foo86 Committed by James Almer

avcodec/dca: don't set initial sample_fmt

Valid sample_fmt will be set by dcadec_decode_frame() based on stream type.
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent b5cda230
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment