Fix libutvideo compilation.

Fixes ticket #985.
This commit is contained in:
Carl Eugen Hoyos 2012-02-07 18:28:00 +01:00
parent 0349d61eef
commit bf5c0308f2

View File

@ -189,17 +189,27 @@ static av_cold int utvideo_decode_close(AVCodecContext *avctx)
AVCodec ff_libutvideo_decoder = { AVCodec ff_libutvideo_decoder = {
"libutvideo", "libutvideo",
NULL_IF_CONFIG_SMALL("Ut Video"),
AVMEDIA_TYPE_VIDEO, AVMEDIA_TYPE_VIDEO,
CODEC_ID_UTVIDEO, CODEC_ID_UTVIDEO,
0, //capabilities
NULL, //supported_framerates
NULL, //pix_fmts
NULL, //supported_samplerates
NULL, //sample_fmts
NULL, //channel_layouts
0, //max_lowres
NULL, //priv_class
NULL, //profiles
sizeof(UtVideoContext), sizeof(UtVideoContext),
NULL, //next
NULL, //init_thread_copy
NULL, //update_thread_context
NULL, //defaults
NULL, //init_static_data
utvideo_decode_init, utvideo_decode_init,
NULL, NULL, //encode
utvideo_decode_close, NULL, //encode2
utvideo_decode_frame, utvideo_decode_frame,
NULL, utvideo_decode_close,
NULL,
NULL,
NULL,
NULL,
NULL_IF_CONFIG_SMALL("Ut Video"),
}; };