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, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commit9b4004c054964a49c7ba44583f4cee22486dd8f2
treebbbd86856946b22f09ba62d806756ba0750118ce
parentd39467262d2f34803eccf6b48560b65b37efeee4
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