diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-08-17 19:08:43 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-08-18 15:30:05 +0200 |
commit | 9876d8fc6d2b77d5aa31a4b748241b9ebb797167 (patch) | |
tree | b725afacab9dd035405a171048b0a307a4538598 /libswresample/swresample.c | |
parent | 30b2611ed3102c53a8aa96c71acf5dadb69997c8 (diff) | |
download | ffmpeg-9876d8fc6d2b77d5aa31a4b748241b9ebb797167.tar.gz |
swresample: add int64 sample format
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 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); } |