diff options
author | chcunningham <chcunningham@chromium.org> | 2018-12-14 13:44:07 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-03-24 10:38:51 +0100 |
commit | 96062eb3cc82134921f12da02c2842fa21208742 (patch) | |
tree | 548c8b7ab016f6465c4319127d5d05ea562d17b7 /libavcodec/amr.h | |
parent | f9b7c87145d20363f2aa027b62e5aac9afb927f6 (diff) | |
download | ffmpeg-96062eb3cc82134921f12da02c2842fa21208742.tar.gz |
lavf/id3v2: fail read_apic on EOF reading mimetype
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>
(cherry picked from commit ee1e39a576977fd38c3b94fc56125d31d38833e9)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/amr.h')
0 files changed, 0 insertions, 0 deletions