diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-01-04 22:48:27 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-01-04 22:48:27 +0000 |
commit | 7ead7e2181dd3d4e5b43e460ff36c89f556662ea (patch) | |
tree | 8f1aee1664240445e4c66e82357bd4be3a138379 /libavformat | |
parent | 2e87e714384e0d5f880df4d2fb5990f55bcc9d9b (diff) | |
download | ffmpeg-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
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 4 |
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; } |