diff --git a/libavformat/mov.c b/libavformat/mov.c
index 310a399d8304ec996e95be29d78268d0b1de40f6..d4d7ac2185f10d2ee6d3e83b47594c85ae6cc2db 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1723,7 +1723,7 @@ static int mov_open_dref(ByteIOContext **pb, char *src, MOVDref *ref)
     }
 
     return AVERROR(ENOENT);
-};
+}
 
 static int mov_read_trak(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
 {