nutdec: check chapter creation in decode_info_header
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Tue, 28 Apr 2015 18:57:59 +0000 (20:57 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Apr 2015 20:22:48 +0000 (22:22 +0200)
commit3ff1af2b0db7132d5717be6395227a94c8abab07
treef9462d090ea4f2a33b737b21221d4c328720f7b5
parent6621105877ce0d65724a8ab60b3a50160adbe65d
nutdec: check chapter creation in decode_info_header

This fixes a segmentation fault when accessing the metadata.

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