avformat/codec2: Don't allocate Codec2Context for muxer

Only the demuxers use it.

Reviewed-by: Tomas Härdin <git@haerdin.se>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-19 18:40:48 +01:00
parent cd8cc3d1b3
commit 0b7d4fccce

View File

@ -318,7 +318,6 @@ const FFOutputFormat ff_codec2_muxer = {
.p.audio_codec = AV_CODEC_ID_CODEC2,
.p.video_codec = AV_CODEC_ID_NONE,
.p.flags = AVFMT_NOTIMESTAMPS,
.priv_data_size = sizeof(Codec2Context),
.write_header = codec2_write_header,
.write_packet = ff_raw_write_packet,
};