aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aac_ac3_parser.c
diff options
context:
space:
mode:
authorAlexander V. Lukyanov <lavv17f@gmail.com>2014-07-08 11:54:15 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-07-08 22:06:18 +0200
commit8635954335061ea4c03d3f492b7bc803ea740d9c (patch)
tree7d25a25ead961f75c5753e24aa3a2a3e67ff3fb1 /libavcodec/aac_ac3_parser.c
parentfd3388d63d8e379c484d69f4b32a0becbebad78b (diff)
downloadffmpeg-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/aac_ac3_parser.c')
0 files changed, 0 insertions, 0 deletions