Files
ffmpeg/libavformat
Andreas Rheinhardt 806ac7da69 avformat/matroskadec: Improve check for level 1 duplicates
If a file uses unknown-length level 1 elements besides clusters and such
elements are after the first cluster, then these elements will usually
be parsed twice: Once during parsing of the file header and once when
reading the file reaches the position where these elements are located.
The second time the element is parsed leads to a "Duplicate element"
error message. Known-length elements are not affected by this as they
are skipped except during parsing the header.

This commit fixes this by explicitly adding a check for whether the
position of the element to be parsed is the same as the position of the
already known level 1 element.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2019-07-16 16:18:10 -03:00
..
2019-05-20 11:58:12 -07:00
2019-05-20 11:58:12 -07:00
2018-05-06 15:07:28 +08:00
2019-05-04 12:03:24 +05:30
2017-09-20 03:31:48 +02:00
2017-10-19 22:07:21 +02:00
2017-09-01 18:52:56 +08:00
2019-07-03 10:35:16 +08:00
2019-03-20 18:38:48 +01:00
2019-05-20 11:58:12 -07:00
2019-06-14 13:21:38 +08:00
2019-07-03 21:07:38 +10:00
2019-05-20 11:58:12 -07:00
2019-06-10 21:35:20 +02:00
2018-09-11 21:48:49 +01:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2019-03-20 18:38:48 +01:00
2018-03-07 22:26:53 +01:00
2019-06-14 21:36:39 +02:00
2019-06-29 19:22:19 +02:00
2019-06-21 18:28:00 +02:00
2019-07-14 22:17:43 +02:00