Changeset 5adcef9c in ffmpeg

Timestamp:
Jul 10, 2014, 8:24:19 AM (10 years ago)
Author:
Martin Storsjö <martin@martin.st>
Branches:
master
Children:
44386aaa, 5682a938
Parents:
f46bb608
git-author:
Alexander V. Lukyanov <lavv17f@gmail.com> (07/08/14 07:54:15)
git-committer:
Martin Storsjö <martin@martin.st> (07/10/14 08:24:19)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.