mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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:
parent
cd8cc3d1b3
commit
0b7d4fccce
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user