@@ -176,25 +176,28 @@ int swr_init(struct SwrContext *s){
returnAVERROR(EINVAL);
}
if(s->int_sample_fmt!=AV_SAMPLE_FMT_S16
&&s->int_sample_fmt!=AV_SAMPLE_FMT_FLT){
av_log(s,AV_LOG_ERROR,"Requested sample format %s is not supported internally, only float & S16 is supported\n",av_get_sample_fmt_name(s->int_sample_fmt));
returnAVERROR(EINVAL);
}
//FIXME should we allow/support using FLT on material that doesnt need it ?