Browse Source

ra144enc: remove unneeded sample_fmt check

tags/n0.11
Justin Ruggles 13 years ago
parent
commit
a65f7c96fc
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      libavcodec/ra144enc.c

+ 0
- 4
libavcodec/ra144enc.c View File

@@ -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);


Loading…
Cancel
Save