mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()
authorTomas Härdin <tomas.hardin@codemill.se>
Tue, 20 Dec 2011 10:22:23 +0000 (11:22 +0100)
committerTomas Härdin <tomas.hardin@codemill.se>
Tue, 20 Dec 2011 10:32:59 +0000 (11:32 +0100)
commit1888bd1b6d2bedc7bbded91d3a8d236236b5aa3c
treed9a3a904fd24ccd1af049fe05ff0d7bf0f21e4fa
parent54cbbdd25abbdea251afbaa9b7c42cdc63d9ebc8
mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()

Only the OPAtom demuxing logic is guaranteed to have index tables, meaning OP1a
files that lack an index would cause SIGSEGV.
libavformat/mxfdec.c