You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/codec2: Remove unused AVClass with wrong category
The codec2 muxer has no options and so it needs no AVClass; and it certainly needs no AVClass of category AV_CLASS_CATEGORY_DEMUXER. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -276,13 +276,6 @@ static const AVOption codec2raw_options[] = {
|
|||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const AVClass codec2_mux_class = {
|
|
||||||
.class_name = "codec2 muxer",
|
|
||||||
.item_name = av_default_item_name,
|
|
||||||
.version = LIBAVUTIL_VERSION_INT,
|
|
||||||
.category = AV_CLASS_CATEGORY_DEMUXER,
|
|
||||||
};
|
|
||||||
|
|
||||||
static const AVClass codec2_demux_class = {
|
static const AVClass codec2_demux_class = {
|
||||||
.class_name = "codec2 demuxer",
|
.class_name = "codec2 demuxer",
|
||||||
.item_name = av_default_item_name,
|
.item_name = av_default_item_name,
|
||||||
@@ -326,7 +319,6 @@ const AVOutputFormat ff_codec2_muxer = {
|
|||||||
.write_header = codec2_write_header,
|
.write_header = codec2_write_header,
|
||||||
.write_packet = ff_raw_write_packet,
|
.write_packet = ff_raw_write_packet,
|
||||||
.flags = AVFMT_NOTIMESTAMPS,
|
.flags = AVFMT_NOTIMESTAMPS,
|
||||||
.priv_class = &codec2_mux_class,
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user