#include "sunrast.h"
typedef struct SUNRASTContext {
+ AVClass *class;
+
PutByteContext p;
int depth; ///< depth of pixel
int length; ///< length (bytes) of image
{ NULL },
};
-static const AVClass utvideo_class = {
+static const AVClass sunrast_class = {
.class_name = "sunrast",
.item_name = av_default_item_name,
.option = options,
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_SUNRAST,
.priv_data_size = sizeof(SUNRASTContext),
+ .priv_class = &sunrast_class,
.init = sunrast_encode_init,
.encode2 = sunrast_encode_frame,
#if FF_API_CODER_TYPE