You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
roqaudioenc: remove unneeded sample_fmt check
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user