diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-22 13:40:03 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-25 11:49:43 -0500 |
commit | 56279f1d6155a7af52526b9852ee28831d0232a6 (patch) | |
tree | 3deab23f1b8950a242b93e09c94c177de9566e8d | |
parent | 4b7f8838e865bb2f803310ac2b27f9166309e4a0 (diff) | |
download | ffmpeg-56279f1d6155a7af52526b9852ee28831d0232a6.tar.gz |
roqaudioenc: remove unneeded sample_fmt check
-rw-r--r-- | libavcodec/roqaudioenc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c index 3747f18c1b..1562417a7e 100644 --- a/libavcodec/roqaudioenc.c +++ b/libavcodec/roqaudioenc.c @@ -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; |