---
libavcodec/roqaudioenc.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c
index 3747f18..1562417 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;
--
1.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel