nutdec: always check the get_str return value
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 22 May 2015 20:58:55 +0000 (22:58 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 23 May 2015 08:36:44 +0000 (10:36 +0200)
commit0b79a389ba488d50fd9947554d803fc51b877bb3
treebccf182d646397624536e67a41447c80e676cfd1
parent1096c46c55d6bbac5c2decbca49f083d079c1642
nutdec: always check the get_str return value

If it fails, the buffers can be (partially) uninitialized.

This fixes 'Conditional jump or move depends on uninitialised value(s)'
valgrind warnings.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/nutdec.c