mirror of https://github.com/FFmpeg/FFmpeg.git
avio_read may return EOF, leaving the mimetype array unitialized. fail early when this occurs to avoid using the array in an unitialized state. Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>pull/304/head^2
parent
826655d8d1
commit
ee1e39a576
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue