diff --git a/libavformat/mov.c b/libavformat/mov.c
index 345b9c47c21ed14bcd55d5c803b997b1681d2eed..e1f43ebf0ba1ad1d8b74fb7ef75fae525f660eb6 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -383,10 +383,6 @@ static int mov_read_hdlr(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
     get_be32(pb); /* component flags */
     get_be32(pb); /* component flags mask */
 
-    if(atom.size <= 24)
-        return 0; /* nothing left to read */
-
-    url_fskip(pb, atom.size - (url_ftell(pb) - atom.offset));
     return 0;
 }