]> git.sesse.net Git - ffmpeg/commit
libavformat/ffmetadec.c: Fix Use-of-uninitialized-value
authorThierry Foucu <tfoucu@gmail.com>
Thu, 20 Aug 2020 19:14:52 +0000 (12:14 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 22 Aug 2020 20:51:07 +0000 (22:51 +0200)
commit5cf439e72ec3432fc52f73badfd0b5ec90162ffa
tree4b48b110a8904228769577ac80e92a7e0a3afb76
parent118e63dff16b5a302599ea1c7f4200d217674a50
libavformat/ffmetadec.c: Fix Use-of-uninitialized-value

Check the return value of sscanf as it can return -1(EOF), for example
when the first char in the line is 0x00

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/ffmetadec.c