aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-12-04 13:37:12 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-12-05 17:22:40 +0100
commit3f37880c05714ede6590fb32390ed991552d5115 (patch)
treed693d41957b00f6d06d3ec2f0debfb2976fa36a5 /libavformat/rtsp.c
parentd5274f86a838ae5f9d56f41c6ee520cce466bd83 (diff)
downloadffmpeg-3f37880c05714ede6590fb32390ed991552d5115.tar.gz
avformat/mpeg: Make VobSub demuxer have its own context struct
When the VobSub demuxer was added, the fields it required were simply added to the MpegDemuxContext (if the VobSub demuxer was selected at all). The mpeg demuxer of course doesn't use these fields even if they are there; and the VobSub demuxer doesn't use the old ones: It opens an mpeg subdemuxer of its own and uses this where a mpeg demuxer is required. Hence the two contexts can be split, saving memory. Furthermore several headers can now be moved to the section that is guarded by #if CONFIG_VOBSUB_DEMUXER (this even includes avassert.h which was unguarded and has been added in 9cde9f70 despite not being used in that patch). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/rtsp.c')
0 files changed, 0 insertions, 0 deletions