summaryrefslogtreecommitdiffstats
path: root/libavcodec/rawdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r--libavcodec/rawdec.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 177f08c..48e3282 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -236,14 +236,13 @@ static av_cold int raw_close_decoder(AVCodecContext *avctx)
}
AVCodec ff_rawvideo_decoder = {
- "rawvideo",
- AVMEDIA_TYPE_VIDEO,
- CODEC_ID_RAWVIDEO,
- sizeof(RawVideoContext),
- raw_init_decoder,
- NULL,
- raw_close_decoder,
- raw_decode,
+ .name = "rawvideo",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .id = CODEC_ID_RAWVIDEO,
+ .priv_data_size = sizeof(RawVideoContext),
+ .init = raw_init_decoder,
+ .close = raw_close_decoder,
+ .decode = raw_decode,
.long_name = NULL_IF_CONFIG_SMALL("raw video"),
.priv_class= &class,
};
OpenPOWER on IntegriCloud