summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-19 18:40:48 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-20 12:46:23 +0100
commit0b7d4fccce2b5f3c9e5e2d43c8937e49e73bd99f (patch)
tree39449c53d7a81fcc28c9d1fa2f4c38965512f6d4
parentcd8cc3d1b39b151c1ba7f792b867c775fb6bbf07 (diff)
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>
-rw-r--r--libavformat/codec2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/codec2.c b/libavformat/codec2.c
index 4a3e10c6e3..9ed57af0a8 100644
--- a/libavformat/codec2.c
+++ b/libavformat/codec2.c
@@ -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,
};