diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-02 00:48:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-02 01:12:16 +0200 |
commit | 71a1f76d3cc937fc1a47f501fc4866f95b74d0b0 (patch) | |
tree | b6b49ab1a88af2210139424ab3e3adeabe58b535 /libswresample/swresample.c | |
parent | 6d5bf67f0475a54282b755ae21add252efc640b1 (diff) |
swr: update double precision checks for our resampler
It supports double precision since a while
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r-- | libswresample/swresample.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c index ba3d7e3193..f0a6f0e87b 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -231,8 +231,9 @@ int swr_init(struct SwrContext *s){ if( s->int_sample_fmt != AV_SAMPLE_FMT_S16P && s->int_sample_fmt != AV_SAMPLE_FMT_S32P && s->int_sample_fmt != AV_SAMPLE_FMT_FLTP + && s->int_sample_fmt != AV_SAMPLE_FMT_DBLP && s->resample){ - av_log(s, AV_LOG_ERROR, "Resampling only supported with internal s16/s32/flt\n"); + av_log(s, AV_LOG_ERROR, "Resampling only supported with internal s16/s32/flt/dbl\n"); return -1; } |