Commit 56279f1d authored by Justin Ruggles's avatar Justin Ruggles

roqaudioenc: remove unneeded sample_fmt check

parent 4b7f8838
......@@ -49,10 +49,6 @@ static av_cold int roq_dpcm_encode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "Audio must be 22050 Hz\n");
return -1;
}
if (avctx->sample_fmt != AV_SAMPLE_FMT_S16) {
av_log(avctx, AV_LOG_ERROR, "Audio must be signed 16-bit\n");
return -1;
}
avctx->frame_size = ROQ_FIRST_FRAME_SIZE;
......
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