[FFmpeg-devel] [PATCH 1/3] avformat/mpeg: Make VobSub demuxer have its own context struct

Michael Niedermayer michael at niedermayer.cc
Thu Dec 5 21:16:37 EET 2019

On Wed, Dec 04, 2019 at 01:37:12PM +0100, Andreas Rheinhardt wrote:
> 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 at gmail.com>
> ---
>  libavformat/mpeg.c | 38 ++++++++++++++++++--------------------
>  1 file changed, 18 insertions(+), 20 deletions(-)

will apply


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191205/27e1479a/attachment.sig>

More information about the ffmpeg-devel mailing list