avformat/aadec: Check for scanf() failure
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 16 Apr 2019 21:56:43 +0000 (23:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 May 2019 09:18:13 +0000 (11:18 +0200)
commitb5b12e2189b4ed6527b43a4924c67e3b847d2a51
tree8c9851ca80901fee7de7c823b0f733afcc4effb0
parent0dd99b0238089c06c429e9658e7506eb44c0b083
avformat/aadec: Check for scanf() failure

Fixes: use of uninitialized variables
Fixes: blank.aa

Found-by: Chamal De Silva <chamal.desilva@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ed188f6dcdf0935c939ed813cf8745d50742014b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/aadec.c