From a65f7c96fce257966ca7e224cbc1ff91af81e91c Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 22 Feb 2012 13:10:38 -0500 Subject: ra144enc: remove unneeded sample_fmt check --- libavcodec/ra144enc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavcodec/ra144enc.c') diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c index c8a09a2ed2..302f66b410 100644 --- a/libavcodec/ra144enc.c +++ b/libavcodec/ra144enc.c @@ -38,10 +38,6 @@ static av_cold int ra144_encode_init(AVCodecContext * avctx) RA144Context *ractx; int ret; - if (avctx->sample_fmt != AV_SAMPLE_FMT_S16) { - av_log(avctx, AV_LOG_ERROR, "invalid sample format\n"); - return -1; - } if (avctx->channels != 1) { av_log(avctx, AV_LOG_ERROR, "invalid number of channels: %d\n", avctx->channels); -- cgit v1.2.3