Skip to content

Commit

Permalink
avformat/segafilmenc: Remove AVClass
Browse files Browse the repository at this point in the history
This muxer does not have any private options and so does not need a
private class.

Signed-off-by: Andreas Rheinhardt <[email protected]>
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
mkver authored and michaelni committed Feb 15, 2020
1 parent 6f2e389 commit 7b7b418
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions libavformat/segafilmenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ typedef struct FILMPacket {
} FILMPacket;

typedef struct FILMOutputContext {
const AVClass *class;
int audio_index;
int video_index;
int64_t stab_pos;
Expand Down Expand Up @@ -377,12 +376,6 @@ static int film_write_header(AVFormatContext *format_context)
return 0;
}

static const AVClass film_muxer_class = {
.class_name = "Sega FILM muxer",
.item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};

AVOutputFormat ff_segafilm_muxer = {
.name = "film_cpk",
.long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"),
Expand All @@ -393,5 +386,4 @@ AVOutputFormat ff_segafilm_muxer = {
.init = film_init,
.write_trailer = film_write_header,
.write_packet = film_write_packet,
.priv_class = &film_muxer_class,
};

0 comments on commit 7b7b418

Please sign in to comment.