diff options
author | Alexander V. Lukyanov <lavv17f@gmail.com> | 2014-07-08 11:54:15 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-08 22:06:18 +0200 |
commit | 8635954335061ea4c03d3f492b7bc803ea740d9c (patch) | |
tree | 7d25a25ead961f75c5753e24aa3a2a3e67ff3fb1 /libavcodec/truespeech_data.h | |
parent | fd3388d63d8e379c484d69f4b32a0becbebad78b (diff) | |
download | ffmpeg-8635954335061ea4c03d3f492b7bc803ea740d9c.tar.gz |
avformat/mpegts: pass MpegTSContext ptr explicitly (fixes #3721)
AVFormatContext->priv_data is not always a MpegTSContext, it can be
RTSPState when decoding a RTP stream. So it is necessary to pass
MpegTSContext pointer explicitly.
This fixes memory corruption from bug #3721 (RTSPState is smaller than
MpegTSContext thus innocent memory gets overwritten).
Signed-off-by: Alexander V. Lukyanov <lavv17f@gmail.com>
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/truespeech_data.h')
0 files changed, 0 insertions, 0 deletions