aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorchcunningham <chcunningham@chromium.org>2018-12-14 13:44:07 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2019-01-15 00:57:27 +0100
commit490a5253ca898bc6c9d58571cd2c8bed7f053a68 (patch)
tree61ecde094ed6c00016aafc2a7c83873ad19c0f5b /libavformat/mpegts.c
parent9925adcd68471459aa60d6a3e2895cec5f2be85b (diff)
downloadffmpeg-490a5253ca898bc6c9d58571cd2c8bed7f053a68.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 'libavformat/mpegts.c')
0 files changed, 0 insertions, 0 deletions