Commit 7b7b4182 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt Committed by Michael Niedermayer

avformat/segafilmenc: Remove AVClass

This muxer does not have any private options and so does not need a
private class.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 6f2e3899
...@@ -45,7 +45,6 @@ typedef struct FILMPacket { ...@@ -45,7 +45,6 @@ typedef struct FILMPacket {
} FILMPacket; } FILMPacket;
typedef struct FILMOutputContext { typedef struct FILMOutputContext {
const AVClass *class;
int audio_index; int audio_index;
int video_index; int video_index;
int64_t stab_pos; int64_t stab_pos;
...@@ -377,12 +376,6 @@ static int film_write_header(AVFormatContext *format_context) ...@@ -377,12 +376,6 @@ static int film_write_header(AVFormatContext *format_context)
return 0; 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 = { AVOutputFormat ff_segafilm_muxer = {
.name = "film_cpk", .name = "film_cpk",
.long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"), .long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"),
...@@ -393,5 +386,4 @@ AVOutputFormat ff_segafilm_muxer = { ...@@ -393,5 +386,4 @@ AVOutputFormat ff_segafilm_muxer = {
.init = film_init, .init = film_init,
.write_trailer = film_write_header, .write_trailer = film_write_header,
.write_packet = film_write_packet, .write_packet = film_write_packet,
.priv_class = &film_muxer_class,
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment