diff options
author | liushuyu <liushuyu@aosc.io> | 2021-08-21 22:18:24 -0600 |
---|---|---|
committer | liushuyu <liushuyu011@gmail.com> | 2021-08-24 15:52:09 -0600 |
commit | 6dacea6e811ebff1e88fc4a9f717b3e7cbf99378 (patch) | |
tree | 7a2e4bd8991971511d5d6344bfd504be1bb99137 /config.h.cmake | |
parent | 0b60970d5a332a2af569f26fd3b8fb5cff34e036 (diff) | |
download | akode-6dacea6e811ebff1e88fc4a9f717b3e7cbf99378.tar.gz akode-6dacea6e811ebff1e88fc4a9f717b3e7cbf99378.zip |
plugins/ffmpeg_decoder: migrate to FFmpeg 4.x API
Signed-off-by: Zixing Liu <liushuyu@aosc.io>
plugins/ffmpeg_decoder: Add detection whether AVFrame structure has
pkt_size and channels members.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index ea60b7d..29f226c 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -39,6 +39,10 @@ and RealAudio decoding) */ #cmakedefine HAVE_FFMPEG +/* Define if struct AVFrame have appropriate members */ +#cmakedefine FFMPEG_AVFRAME_HAVE_PKT_SIZE 1 +#cmakedefine FFMPEG_AVFRAME_HAVE_CHANNELS 1 + /* Define if you have libFLAC 1.1.3 or newer */ #cmakedefine HAVE_LIBFLAC113 |