diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-08-21 11:27:34 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-08-22 16:41:33 -0400 |
commit | 358078d9bb89d6266e274720eba8582ec7b1c6b7 (patch) | |
tree | 23698b8c212fa761c88518e8e68e66b723ae9061 /libavcodec | |
parent | ec7a212f9f3659181040d40f95a0358f8c8b48e9 (diff) | |
download | ffmpeg-streaming-358078d9bb89d6266e274720eba8582ec7b1c6b7.zip ffmpeg-streaming-358078d9bb89d6266e274720eba8582ec7b1c6b7.tar.gz |
alacenc: remove unneeded sample_fmt check
Diffstat (limited to 'libavcodec')
-rw-r--r-- | 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. */ |