Skip to content
Snippets Groups Projects
Commit 39f7620d authored by foo86's avatar foo86 Committed by James Almer
Browse files

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: default avatarJames Almer <jamrial@gmail.com>
parent b5cda230
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment