diff options
author | liushuyu <liushuyu@aosc.io> | 2021-08-21 22:18:24 -0600 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-08-28 20:10:05 +0900 |
commit | 9655286dc7517726bd80d1ed8ee93d5943971ebd (patch) | |
tree | 1d0f4e68205c7cca377f4ebb18e907c4497602dc /config.h.cmake | |
parent | 3904afa1ff696c64e13cf4c9c2b0b355bab8ec36 (diff) | |
download | akode-9655286d.tar.gz akode-9655286d.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>
(cherry picked from commit 6dacea6e811ebff1e88fc4a9f717b3e7cbf99378)
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 |