summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
* @{