ffmpeg/libavformat
Mark Harris 1b4fbf8080 avformat/icodec: ico probe with unknown data
Fix cases where unknown data (data beyond p->buf_size) could produce a
higher ico probe score than if the unknown data was known and valid.
For example:
    Header:  OK, 2 frames
    Frame 0: Unknown (offset points beyond end of probe buffer)
    Frame 1: Invalid
Previously this example had a score of 25, even though the score would
be 1 if the unknown frame was known to be valid or 0 if it was known
to be invalid.  For this example the score is now 1.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-20 02:56:25 +01:00
..
2015-10-30 03:02:41 +01:00
2015-11-03 12:26:09 +01:00
2016-02-01 10:51:46 +01:00
2015-11-12 04:39:14 +01:00
2015-11-12 04:39:14 +01:00
2016-02-19 15:47:33 +01:00
2016-02-02 03:39:34 +01:00
2016-02-02 03:39:34 +01:00
2016-02-02 03:39:34 +01:00
2016-01-04 13:44:16 +01:00
2015-10-04 01:37:31 +02:00
2015-10-29 21:26:43 +01:00
2016-01-11 17:16:18 +01:00
2016-01-26 20:56:55 +01:00
2015-11-21 21:03:51 +01:00
2014-08-24 11:05:42 +00:00
2016-02-19 15:47:33 +01:00
2015-05-26 19:54:41 +02:00
2016-01-08 23:27:10 +01:00
2014-07-13 19:18:31 +02:00
2014-07-13 19:18:31 +02:00
2014-08-15 22:47:45 +02:00
2016-02-16 20:09:56 +00:00
2016-02-09 19:19:43 +01:00
2016-01-21 13:16:24 +01:00
2016-01-13 09:37:11 +01:00
2016-02-19 15:47:33 +01:00
2016-01-30 17:44:13 +00:00
2015-11-20 20:52:37 +01:00
2015-09-01 13:35:37 +02:00
2014-10-21 03:52:27 +02:00
2016-01-01 18:31:49 +01:00
2015-10-26 23:24:45 -07:00
2015-11-12 04:39:14 +01:00
2016-02-02 03:39:34 +01:00
2015-11-23 18:34:52 -08:00
2015-01-11 00:35:01 +01:00
2016-01-30 13:08:37 +01:00
2016-01-31 15:52:23 -08:00
2015-10-20 09:41:11 +02:00
2015-10-25 11:05:56 +01:00
2015-10-25 17:37:17 +01:00