roqaudioenc: remove unneeded sample_fmt check

This commit is contained in:
Justin Ruggles 2012-02-22 13:40:03 -05:00
parent 4b7f8838e8
commit 56279f1d61

View File

@ -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;