flvdec: read index stored in the 'keyframes' tag.
authorKharkov Alexander <kharkovalexander@gmail.com>
Fri, 18 Mar 2011 07:26:51 +0000 (08:26 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 31 Mar 2011 05:31:58 +0000 (07:31 +0200)
commitcb7e2c1ca864a2ff44c851689ba8a2d4a81dfd27
treed739d48760ef5b04a8e44609326d53e0347d47e1
parent9dd94f8379a0f7b3c820bf73c45fa888971c7432
flvdec: read index stored in the 'keyframes' tag.

'keyframes' metatag is not part of the standard, it is just
convention to use such kind of metatag information for indexing.
Structure is following, it allows to have it inconsistent:
keyframes:
 times (array):
  time0 (num)
  time1 (num)
  time2 (num)
 filepositions (array)
  position0 (num)
  position1 (num)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/flvdec.c