mxfdec: Check slice_count before freeing slice_offset_entries
authorTomas Härdin <tomas.hardin@codemill.se>
Fri, 9 Dec 2011 15:08:29 +0000 (16:08 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Dec 2011 17:34:37 +0000 (18:34 +0100)
commit89cc8c17dfc2e49d2507eb72bfba10baba372d7f
tree3f165a95934548334884387e2b9e14638b6ef490
parentc0ee522df6c9ef09cdcb5bce7adb4b745aa6485a
mxfdec: Check slice_count before freeing slice_offset_entries

This fixes SIGSEGV on sliceless (single stream) VBR files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mxfdec.c