diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 05d1d539a8b6e2b645f446aa205aed1d44e83863..1f79c29a851f8fb3911edbcca93ec8fe32b0ed93 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -165,6 +165,7 @@ typedef struct PlaneContext{
 #define MAX_SLICES 256
 
 typedef struct FFV1Context{
+    AVClass *class;
     AVCodecContext *avctx;
     RangeCoder c;
     GetBitContext gb;