aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/westwood_aud.c
diff options
context:
space:
mode:
authorAlexander V. Lukyanov <lavv17f@gmail.com>2014-07-08 11:54:15 +0400
committerMartin Storsjö <martin@martin.st>2014-07-10 11:24:19 +0300
commit5adcef9c1bf701ba2dd43363ae983ba6d74bdb9a (patch)
tree83bbf74577a21e36ab1e69f161e966291dde48b3 /libavformat/westwood_aud.c
parentf46bb608d9d76c543e4929dc8cffe36b84bd789e (diff)
downloadffmpeg-5adcef9c1bf701ba2dd43363ae983ba6d74bdb9a.tar.gz
mpegts: pass MpegTSContext ptr explicitly
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. Within libav, the write_section_data function doesn't actually use the MpegTSContext at all, so this doesn't change anything at the moment (no memory was corrupted before), but it reduces the risk of anybody trying to touch the MpegTSContext via AVFormatContext->priv_data in the future. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/westwood_aud.c')
0 files changed, 0 insertions, 0 deletions