diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h
index d1e9f82ed733dbb6c6c574a0b1ebdb52ee154f9e..df4fca3f207605294637ddd450004b5d88278512 100644
--- a/libavcodec/bytestream.h
+++ b/libavcodec/bytestream.h
@@ -30,7 +30,7 @@ static av_always_inline unsigned int bytestream_get_ ## name(uint8_t **b){\
 static av_always_inline void bytestream_put_ ##name(uint8_t **b, const unsigned int value){\
     write(*b, value);\
     (*b) += bytes;\
-};
+}
 
 DEF(le32, 4, AV_RL32, AV_WL32)
 DEF(le24, 3, AV_RL24, AV_WL24)