Do not call parse_keyframes_index with NULL stream.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 19 Oct 2011 16:41:02 +0000 (18:41 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 8 Nov 2011 18:03:42 +0000 (19:03 +0100)
commitd484a07f1cb2fd416dd4e733ee793a1603c507bf
treef373e5de4b55cb5621cc47f1ceff48faf75e2f6a
parent8045254bacca54bc5bb242f43b72564037b8a50d
Do not call parse_keyframes_index with NULL stream.

Seems to fix trac issue #569.
Sample is unfortunately not available, but it might be caused by
an index existing for non-existing audio stream (?).

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(cherry picked from commit 6ea6ff053af2aff8a9a898292f9640efa9290c9f)
libavformat/flvdec.c