]> git.sesse.net Git - ffmpeg/commit
avformat/matroskadec: Don't reset cluster position
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 16 May 2019 22:30:09 +0000 (00:30 +0200)
committerJames Almer <jamrial@gmail.com>
Tue, 16 Jul 2019 19:16:59 +0000 (16:16 -0300)
commita9f051519e2ad3e4ea3062d2fd437209dc865eb8
tree6796580eb1f8a876ed7aec79e6eafeb7ad21d125
parent865c5370078fe743a8259a3f83d69e5a0cb693b2
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 cluster needs to be closed or not (instead, this
is done in ebml_parse), so there is no need to reset the cluster's
position at all any more. It will be automatically set to the correct
value when a cluster is entered.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/matroskadec.c