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, 19 May 2015 19:21:39 +0000 (21:21 +0200)
commit63afe5b9140bacdf587cff0cd9427ab03fa76b72
tree6a6e4b2a2cfc1f29ce4348612fa583d116d22101
parent2070149cbbf853e78efdada52ebdc8e958564f14
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>
(cherry picked from commit 3ff1af2b0db7132d5717be6395227a94c8abab07)

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