aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-10-10 23:54:03 -0300
committerJames Almer <jamrial@gmail.com>2020-10-10 23:58:11 -0300
commit263a4b13dbb805fb927a842de07029f77a985552 (patch)
tree6003cc6a67121b64423761088e7a56f3846db16c
parentddee53e2680a03a8b8beaa0de02e235046c599c3 (diff)
downloadffmpeg-263a4b13dbb805fb927a842de07029f77a985552.tar.gz
avcodec/codec.h: add missing FF_API_NEXT wrapper
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/codec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/codec.h b/libavcodec/codec.h
index 713774a632..dc8e12b3f0 100644
--- a/libavcodec/codec.h
+++ b/libavcodec/codec.h
@@ -236,7 +236,9 @@ typedef struct AVCodec {
*****************************************************************
*/
int priv_data_size;
+#if FF_API_NEXT
struct AVCodec *next;
+#endif
/**
* @name Frame-level threading support functions
* @{