[FFmpeg-cvslog] avformat/matroskadec: Improve check for level 1 duplicates

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:21 2019 +0200| [806ac7da6927c1a9db2d6bc7af272733078964a0] | committer: James Almer avformat/matroskadec: Improve check for level 1 duplicates If a file uses unknown-length level 1 elements besides clusters and such elements are af

[FFmpeg-cvslog] avformat/matroskadec: Use file offsets for level 1 elements

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:20 2019 +0200| [730ac1ae80392502eeaef4d1b8b796126e8f] | committer: James Almer avformat/matroskadec: Use file offsets for level 1 elements This commit converts the MatroskaLevel1Element struct to use file-based offsets, as opp

[FFmpeg-cvslog] avformat/matroskadec: Accept more unknown-length elements II

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:18 2019 +0200| [71c908817ec6173afb9bfbae404c6ce824cd965c] | committer: James Almer avformat/matroskadec: Accept more unknown-length elements II Up until now, one last kind of unknown-length element hasn't been properly handled: Un

[FFmpeg-cvslog] avformat/matroskadec: Reindent after previous commit

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:19 2019 +0200| [6854127a76988e3aa3fafce3c01cb098f80f4bef] | committer: James Almer avformat/matroskadec: Reindent after previous commit Also use the smallest scope possible for a loop variable. Signed-off-by: Andreas Rheinhardt

[FFmpeg-cvslog] avformat/matroskadec: Fix probing of unknown-length headers

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:17 2019 +0200| [9c6d14ab84e424bdb99a1a4b499311ecf8687ceb] | committer: James Almer avformat/matroskadec: Fix probing of unknown-length headers matroska_probe did not support the case of an unknown-length EBML header at all; given

[FFmpeg-cvslog] avformat/matroskadec: Redo EOF handling

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:11 2019 +0200| [3ed2755baaf3f8a9f088f8c7b9cc7bd8c629e8fb] | committer: James Almer avformat/matroskadec: Redo EOF handling This commit closes the last hole in the system of checks for a known-length file ending too early: Now an e

[FFmpeg-cvslog] avformat/matroskadec: Typos, nits and cosmetics

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:13 2019 +0200| [60f75c9976368d9921ea5cf2b9193ff8ace1602d] | committer: James Almer avformat/matroskadec: Typos, nits and cosmetics Cosmetics include reordering EbmlType so that EBML_SINT is adjacent to the other numbers (and match

[FFmpeg-cvslog] avformat/matroskadec: Accept more unknown-length elements

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:16 2019 +0200| [3c70b941d5d1f756cf4e141c3c7ee921478ec300] | committer: James Almer avformat/matroskadec: Accept more unknown-length elements The current Matroska specifications mandate that only two elements may use an unknown-len

[FFmpeg-cvslog] avformat/matroskadec: Improve invalid length error handling

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:15 2019 +0200| [04b62bd7ceb45d338799768a9c8b139f5b0ad77e] | committer: James Almer avformat/matroskadec: Improve invalid length error handling 1. Up until now, the error message for EBML numbers whose length exceeds the limits imp

[FFmpeg-cvslog] avformat/matroskadec: Don't skip too much when unseekable

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:14 2019 +0200| [5120305137436b556a23208f25b549c5d64fb38e] | committer: James Almer avformat/matroskadec: Don't skip too much when unseekable The Matroska (and WebM) file format achieves forward-compability by insisting that demuxe

[FFmpeg-cvslog] avformat/matroskadec: Introduce a "last known good" position

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:05 2019 +0200| [a3db9f62a42a8e5365de67722ecfac7065a70699] | committer: James Almer avformat/matroskadec: Introduce a "last known good" position Currently, resyncing during reading packets works as follows: The current position is

[FFmpeg-cvslog] avformat/matroskadec: Link to parents in syntax tables

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:06 2019 +0200| [c1abd95ad0964ff7295fa38af564f2dea1a3b314] | committer: James Almer avformat/matroskadec: Link to parents in syntax tables By linking to the syntax of the parent (i.e. the containing master element) one can check wh

[FFmpeg-cvslog] avformat/matroskadec: Combine arrays

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:10 2019 +0200| [38255cdcf815ff44bb0ab10cb16b96e409f2eeed] | committer: James Almer avformat/matroskadec: Combine arrays By including SimpleBlocks and BlockGroups twice in the same EbmlSyntax array (with different semantics), one c

[FFmpeg-cvslog] avformat/matroskadec: Redo level handling

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jun 24 01:46:54 2019 +0200| [b31c9b72e5e677149b73b5f26b0c1deabc6a0803] | committer: James Almer avformat/matroskadec: Redo level handling This commit changes how levels are handled: If the level used for ebml_parse ends directly after an eleme

[FFmpeg-cvslog] avformat/matroskadec: Don't reset cluster position

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:09 2019 +0200| [a9f051519e2ad3e4ea3062d2fd437209dc865eb8] | committer: James Almer avformat/matroskadec: Don't reset cluster position The new code does not rely on whether the cluster's position is set or not to infer whether a cl

[FFmpeg-cvslog] avformat/matroskadec: Make cluster parsing level compatible

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:08 2019 +0200| [865c5370078fe743a8259a3f83d69e5a0cb693b2] | committer: James Almer avformat/matroskadec: Make cluster parsing level compatible Before this commit, the parsing of clusters mixed EBML levels by allowing elements from

[FFmpeg-cvslog] avformat/matroskadec: Reuse positions

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:12 2019 +0200| [7087fc95b258793cf55953e10fb9005f01141bc2] | committer: James Almer avformat/matroskadec: Reuse positions Up until now, avio_tell was used multiple times in ebml_parse and its subroutines, although the result of the

[FFmpeg-cvslog] avformat/matroskadec: Add function to reset status

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:02 2019 +0200| [310f326b4354d7353850e00393aeecada3c3c2c0] | committer: James Almer avformat/matroskadec: Add function to reset status This function will be useful later to reset the status (e.g. current level and the already parse

[FFmpeg-cvslog] avformat/matroskadec: Don't abort resyncing upon seek failure

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:01 2019 +0200| [27f40b1dcdff426ed25e7c690ec907d18239ff49] | committer: James Almer avformat/matroskadec: Don't abort resyncing upon seek failure When an error happens, the Matroska demuxer tries to resync to level 1 elements from

[FFmpeg-cvslog] avformat/matroskadec: Use proper levels after discontínuity

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:03 2019 +0200| [8a286e745d0effe23c69baef5882917c2ea32c30] | committer: James Almer avformat/matroskadec: Use proper levels after discontínuity The earlier code set the level to zero upon seeking and after a discontinuity although

[FFmpeg-cvslog] avformat/matroskadec: Refactor some functions

2019-07-16 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 00:30:04 2019 +0200| [559e3422c78b40df2757c29388ebf1a4f6a60f5b] | committer: James Almer avformat/matroskadec: Refactor some functions Since the changes to the parsing of SimpleBlocks, both ebml_parse_id and ebml_parse_elem are only cal