diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-02 00:50:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-02 01:12:16 +0200 |
commit | f2e799a3d08b4a0ff2d2821f58e69cd40cda0a53 (patch) | |
tree | 15bf48cf29b93e65d009f9fcefc44160589ffcfd /libswresample/swresample.c | |
parent | 71a1f76d3cc937fc1a47f501fc4866f95b74d0b0 (diff) | |
download | ffmpeg-f2e799a3d08b4a0ff2d2821f58e69cd40cda0a53.tar.gz |
swr: add double precision support to the rematrix code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r-- | libswresample/swresample.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c index f0a6f0e87b..87a885be1a 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -216,8 +216,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){ - av_log(s, AV_LOG_ERROR, "Requested sample format %s is not supported internally, S16/S32/FLT is supported\n", av_get_sample_fmt_name(s->int_sample_fmt)); + &&s->int_sample_fmt != AV_SAMPLE_FMT_FLTP + &&s->int_sample_fmt != AV_SAMPLE_FMT_DBLP){ + av_log(s, AV_LOG_ERROR, "Requested sample format %s is not supported internally, S16/S32/FLT/DBL is supported\n", av_get_sample_fmt_name(s->int_sample_fmt)); return AVERROR(EINVAL); } |