]> git.sesse.net Git - ffmpeg/commit
flvdec: Allow parsing keyframes metadata without seeking in most cases
authorMartin Storsjö <martin@martin.st>
Tue, 12 Apr 2011 13:37:54 +0000 (16:37 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 12 Apr 2011 20:08:55 +0000 (23:08 +0300)
commit578d6861a753eb0b9d277f7ec17d1502eb2bb35a
treeebf5893e44d2d65355ee4d53cfc6f5452bc872de
parentf3e3f28e802a108120a1244744ddc1689d26be7a
flvdec: Allow parsing keyframes metadata without seeking in most cases

Stop the avio input at a point where amf_parse_object can
continue parsing the end of the object seamlessly, when all
data is available.

If unsupported data is encountered within the keyframes object,
try seeking to the start of the keyframes object - if the seek
back was successful, the caller can continue parsing the rest
of the AMF data.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/flvdec.c