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:34:31 +0000 (22:34 +0200)
commit84981c8a87a34c542fbff342c33226dd106e9ed0
treef5fad5f8c0a726e28bd430f4bea2eedf1b4062d3
parentac323fa46330756b60ff4338954de389d268a8fb
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