nut: Check chapter creation in decode_info_header
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Tue, 28 Apr 2015 18:57:59 +0000 (20:57 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 8 May 2015 09:10:51 +0000 (11:10 +0200)
commitb34257eefd98cb768ea2f53a390b8684d51e689a
tree9b8716289ec6fea18f80590802285de5710acfff
parent243e8443cd9e83c887e3f5edf09a169e7783d14e
nut: Check chapter creation in decode_info_header

This fixes a segmentation fault when accessing the metadata.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
CC: libav-stable@libav.org
libavformat/nutdec.c