avformat/nutdec: Check X in 2nd branch of index reading
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 22 May 2015 22:23:05 +0000 (00:23 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 May 2015 22:52:44 +0000 (00:52 +0200)
commit3ea101b234485d43c0f538d77b208311aec4023b
tree75cbbea9ef5f7310f85516cde9c65ea2f128ef77
parent3c7ea2c46ef719244a1723d5d6b52f0733095ae1
avformat/nutdec: Check X in 2nd branch of index reading

Prevents read of uninitialized variable

Based on patch by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ebb0ca3d70465ab6d369a66b2ef43bb059705db8)

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