From 53e3cb968aa669c16dff738653d1e9821cd02c01 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 27 Sep 2019 21:21:34 +0200 Subject: audio: add support for AV_SAMPLE_FMT_S64* What an idiotic format. It makes no sense, and should have been converted to S32 in the demuxer, rather than plague everyone with another extremely obscure nonsense format. Why doesn't ffmpeg add S24 instead? That's an actually useful format. May cause compilation failure with old FFmpeg or Libav libs, but I don't care. --- audio/format.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'audio/format.h') diff --git a/audio/format.h b/audio/format.h index 24e1c5404f..bdd4744ae3 100644 --- a/audio/format.h +++ b/audio/format.h @@ -27,6 +27,7 @@ enum af_format { AF_FORMAT_U8, AF_FORMAT_S16, AF_FORMAT_S32, + AF_FORMAT_S64, AF_FORMAT_FLOAT, AF_FORMAT_DOUBLE, @@ -34,6 +35,7 @@ enum af_format { AF_FORMAT_U8P, AF_FORMAT_S16P, AF_FORMAT_S32P, + AF_FORMAT_S64P, AF_FORMAT_FLOATP, AF_FORMAT_DOUBLEP, -- cgit v1.2.3