diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-22 22:10:38 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-25 20:49:42 +0400 |
commit | a65f7c96fce257966ca7e224cbc1ff91af81e91c (patch) | |
tree | 9c3db71f8a5e393d83f0af91e3d5d26af0eac2ad | |
parent | 928672f1f193167a5876cd5e00c904d4f6b52b4a (diff) |
ra144enc: remove unneeded sample_fmt check
-rw-r--r-- | libavcodec/ra144enc.c | 4 |
1 files changed, 0 insertions, 4 deletions
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); |