Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-08-17 20:08:43 +0300
committerPaul B Mahol <onemda@gmail.com>2016-08-18 16:30:05 +0300
commit9876d8fc6d2b77d5aa31a4b748241b9ebb797167 (patch)
treeb725afacab9dd035405a171048b0a307a4538598 /libswresample/swresample.c
parent30b2611ed3102c53a8aa96c71acf5dadb69997c8 (diff)
swresample: add int64 sample format
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r--libswresample/swresample.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index b8ad9486eb..0ef4dea91b 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -238,9 +238,10 @@ av_cold 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_S64P
&&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));
+ av_log(s, AV_LOG_ERROR, "Requested sample format %s is not supported internally, S16/S32/S64/FLT/DBL is supported\n", av_get_sample_fmt_name(s->int_sample_fmt));
return AVERROR(EINVAL);
}