avformat: fix heap read overflow and invalid cast
avformat: fix heap read overflow and invalid cast

avformat needs nul padding after the probe data.

xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc