aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-01-04 22:48:27 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-01-04 22:48:27 +0000
commit7ead7e2181dd3d4e5b43e460ff36c89f556662ea (patch)
tree8f1aee1664240445e4c66e82357bd4be3a138379
parent2e87e714384e0d5f880df4d2fb5990f55bcc9d9b (diff)
downloadffmpeg-7ead7e2181dd3d4e5b43e460ff36c89f556662ea.tar.gz
remove useless code skipping data at end of hdlr atom, already done in mov_read_default
Originally committed as revision 21022 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mov.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 345b9c47c2..e1f43ebf0b 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;
}