avformat/matroskaenc: Disable MKV-only code if MKV muxer is disabled
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 7 Jan 2022 10:36:19 +0000 (11:36 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sat, 8 Jan 2022 18:11:17 +0000 (19:11 +0100)
commit4eb182b71471217c7b50a95e2f530d226b232772
treef9762b0ed0ccc729be78ac1b06d1513f1523831c
parent201a486a11d031368d496ff48bfe91ad56d4522e
avformat/matroskaenc: Disable MKV-only code if MKV muxer is disabled

The Matroska muxer has quite a lot of dependencies and lots of them
are unnecessary for WebM. By disabling the Matroska-only code
at compile time one can get rid of them.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit 52c1e9e530a46ba62b974f121c9d28a86900a632)
configure
libavformat/Makefile
libavformat/matroskaenc.c