---
 libavcodec/alacenc.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 5b00a7a..d337e40 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -426,11 +426,6 @@ static av_cold int alac_encode_init(AVCodecContext *avctx)
 
     avctx->frame_size = s->frame_size = DEFAULT_FRAME_SIZE;
 
-    if (avctx->sample_fmt != AV_SAMPLE_FMT_S16) {
-        av_log(avctx, AV_LOG_ERROR, "only pcm_s16 input samples are 
supported\n");
-        return -1;
-    }
-
     /* TODO: Correctly implement multi-channel ALAC.
              It is similar to multi-channel AAC, in that it has a series of
              single-channel (SCE), channel-pair (CPE), and LFE elements. */
-- 
1.7.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to