[FFmpeg-cvslog] swr: update double precision checks for our resampler
Michael Niedermayer
git at videolan.org
Wed May 2 01:18:42 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 2 00:48:44 2012 +0200| [71a1f76d3cc937fc1a47f501fc4866f95b74d0b0] | committer: Michael Niedermayer
swr: update double precision checks for our resampler
It supports double precision since a while
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=71a1f76d3cc937fc1a47f501fc4866f95b74d0b0
---
libswresample/swresample.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index ba3d7e3..f0a6f0e 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;
}
More information about the ffmpeg-cvslog
mailing list