diff --git a/libavcodec/escape124.c b/libavcodec/escape124.c index 42732eae8c..bf84335180 100644 --- a/libavcodec/escape124.c +++ b/libavcodec/escape124.c @@ -37,7 +37,7 @@ typedef union SuperBlock { typedef struct CodeBook { unsigned depth; unsigned size; - MacroBlock blocks[]; + MacroBlock blocks[0]; } CodeBook; typedef struct Escape124Context {