diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c index ea51958c62252e5eb2233c10fe9c7c034d80b660..9608ecb8e68f586ef1b69d4f50fdc6e08a2c3f65 100644 --- a/libavcodec/dxva2_h264.c +++ b/libavcodec/dxva2_h264.c @@ -443,7 +443,6 @@ AVHWAccel ff_h264_dxva2_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_H264, .pix_fmt = PIX_FMT_DXVA2_VLD, - .capabilities = 0, .start_frame = start_frame, .decode_slice = decode_slice, .end_frame = end_frame, diff --git a/libavcodec/dxva2_mpeg2.c b/libavcodec/dxva2_mpeg2.c index 092123bff520d4b0d22c0df770749869cf097526..2e77cd1bd89c0a70e8916a5c21a47de83301e0c7 100644 --- a/libavcodec/dxva2_mpeg2.c +++ b/libavcodec/dxva2_mpeg2.c @@ -265,7 +265,6 @@ AVHWAccel ff_mpeg2_dxva2_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_MPEG2VIDEO, .pix_fmt = PIX_FMT_DXVA2_VLD, - .capabilities = 0, .start_frame = start_frame, .decode_slice = decode_slice, .end_frame = end_frame, diff --git a/libavcodec/dxva2_vc1.c b/libavcodec/dxva2_vc1.c index f8b74a2b35dda6de92c0741440d9f0100ce8fe4f..22ad4598ae2c516304c21db7cfb24a60f76f6cca 100644 --- a/libavcodec/dxva2_vc1.c +++ b/libavcodec/dxva2_vc1.c @@ -269,7 +269,6 @@ AVHWAccel ff_wmv3_dxva2_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_WMV3, .pix_fmt = PIX_FMT_DXVA2_VLD, - .capabilities = 0, .start_frame = start_frame, .decode_slice = decode_slice, .end_frame = end_frame, @@ -282,7 +281,6 @@ AVHWAccel ff_vc1_dxva2_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_VC1, .pix_fmt = PIX_FMT_DXVA2_VLD, - .capabilities = 0, .start_frame = start_frame, .decode_slice = decode_slice, .end_frame = end_frame, diff --git a/libavcodec/mjpeg2jpeg_bsf.c b/libavcodec/mjpeg2jpeg_bsf.c index 335a73bf5499fce6d55f412694541baff95d1dbb..a91152d733d8f56f9eed87d2b0564962adb46fb4 100644 --- a/libavcodec/mjpeg2jpeg_bsf.c +++ b/libavcodec/mjpeg2jpeg_bsf.c @@ -108,6 +108,5 @@ static int mjpeg2jpeg_filter(AVBitStreamFilterContext *bsfc, AVBitStreamFilter ff_mjpeg2jpeg_bsf = { .name = "mjpeg2jpeg", - .priv_data_size = 0, .filter = mjpeg2jpeg_filter, }; diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c index faaa8ed2f583346e2b6bfe375c96902eafd155c8..f6f096d89f63ff83af081d39912e294db61dc3e3 100644 --- a/libavcodec/s302m.c +++ b/libavcodec/s302m.c @@ -134,7 +134,6 @@ AVCodec ff_s302m_decoder = { .name = "s302m", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_S302M, - .priv_data_size = 0, .decode = s302m_decode_frame, .long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"), }; diff --git a/libavcodec/vaapi_h264.c b/libavcodec/vaapi_h264.c index 51ebaaf5a06c775c4a4006651c454858ab5e38f2..820568aa258b92661399671b1cf0a06e095e52a0 100644 --- a/libavcodec/vaapi_h264.c +++ b/libavcodec/vaapi_h264.c @@ -341,9 +341,7 @@ AVHWAccel ff_h264_vaapi_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_H264, .pix_fmt = PIX_FMT_VAAPI_VLD, - .capabilities = 0, .start_frame = start_frame, .end_frame = end_frame, .decode_slice = decode_slice, - .priv_data_size = 0, }; diff --git a/libavcodec/vaapi_mpeg2.c b/libavcodec/vaapi_mpeg2.c index b608246cb9f930656ed3a8a16dd600eebe250955..6b08ed2efc7f665794ffa7d8172850bf062887fe 100644 --- a/libavcodec/vaapi_mpeg2.c +++ b/libavcodec/vaapi_mpeg2.c @@ -143,9 +143,7 @@ AVHWAccel ff_mpeg2_vaapi_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_MPEG2VIDEO, .pix_fmt = PIX_FMT_VAAPI_VLD, - .capabilities = 0, .start_frame = vaapi_mpeg2_start_frame, .end_frame = vaapi_mpeg2_end_frame, .decode_slice = vaapi_mpeg2_decode_slice, - .priv_data_size = 0, }; diff --git a/libavcodec/vaapi_mpeg4.c b/libavcodec/vaapi_mpeg4.c index 1a756cbaf457ecd6fb456e1ea7db843d06c809d7..915632844ee2e942fddc59db85252fa2edeaefc6 100644 --- a/libavcodec/vaapi_mpeg4.c +++ b/libavcodec/vaapi_mpeg4.c @@ -155,11 +155,9 @@ AVHWAccel ff_mpeg4_vaapi_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_MPEG4, .pix_fmt = PIX_FMT_VAAPI_VLD, - .capabilities = 0, .start_frame = vaapi_mpeg4_start_frame, .end_frame = vaapi_mpeg4_end_frame, .decode_slice = vaapi_mpeg4_decode_slice, - .priv_data_size = 0, }; #endif @@ -169,10 +167,8 @@ AVHWAccel ff_h263_vaapi_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_H263, .pix_fmt = PIX_FMT_VAAPI_VLD, - .capabilities = 0, .start_frame = vaapi_mpeg4_start_frame, .end_frame = vaapi_mpeg4_end_frame, .decode_slice = vaapi_mpeg4_decode_slice, - .priv_data_size = 0, }; #endif diff --git a/libavcodec/vaapi_vc1.c b/libavcodec/vaapi_vc1.c index 452b97d25a050e42ee27abb6317845efa5868ce7..d519987ff0066fd162250780939e03a42dffdb7d 100644 --- a/libavcodec/vaapi_vc1.c +++ b/libavcodec/vaapi_vc1.c @@ -346,11 +346,9 @@ AVHWAccel ff_wmv3_vaapi_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_WMV3, .pix_fmt = PIX_FMT_VAAPI_VLD, - .capabilities = 0, .start_frame = vaapi_vc1_start_frame, .end_frame = vaapi_vc1_end_frame, .decode_slice = vaapi_vc1_decode_slice, - .priv_data_size = 0, }; #endif @@ -359,9 +357,7 @@ AVHWAccel ff_vc1_vaapi_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_VC1, .pix_fmt = PIX_FMT_VAAPI_VLD, - .capabilities = 0, .start_frame = vaapi_vc1_start_frame, .end_frame = vaapi_vc1_end_frame, .decode_slice = vaapi_vc1_decode_slice, - .priv_data_size = 0, }; diff --git a/libavcodec/vda_h264.c b/libavcodec/vda_h264.c index c9022673fc4c7228954e1175cd66350b1af92dfa..b50a4c99a4fc80994665d68cbf981f6f29d237e4 100644 --- a/libavcodec/vda_h264.c +++ b/libavcodec/vda_h264.c @@ -102,7 +102,6 @@ AVHWAccel ff_h264_vda_hwaccel = { .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_H264, .pix_fmt = PIX_FMT_VDA_VLD, - .capabilities = 0, .start_frame = start_frame, .decode_slice = decode_slice, .end_frame = end_frame, diff --git a/libavformat/a64.c b/libavformat/a64.c index 4b4981e9a85fe0b1c5a6165775bc0ae80bf0ddce..3cea50b6c519723f5639b5f5de0f8638ea83be82 100644 --- a/libavformat/a64.c +++ b/libavformat/a64.c @@ -166,7 +166,6 @@ static int a64_write_trailer(struct AVFormatContext *s) AVOutputFormat ff_a64_muxer = { .name = "a64", .long_name = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"), - .mime_type = NULL, .extensions = "a64, A64", .priv_data_size = sizeof (A64Context), .video_codec = CODEC_ID_A64_MULTI, diff --git a/libavformat/amr.c b/libavformat/amr.c index b26afa71b7ced10bbb3b1d7f9c40fcb626d19dd6..0f62c7dfa5b627d0c500e7aedc456f73ca853b26 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -176,7 +176,6 @@ static int amr_read_packet(AVFormatContext *s, AVInputFormat ff_amr_demuxer = { .name = "amr", .long_name = NULL_IF_CONFIG_SMALL("3GPP AMR file format"), - .priv_data_size = 0, /*priv_data_size*/ .read_probe = amr_probe, .read_header = amr_read_header, .read_packet = amr_read_packet, diff --git a/libavformat/mmsh.c b/libavformat/mmsh.c index 50e160f7bad3f10c9d80d5c63f2385821692ba25..8a6de322cfddd8866360b37905c956bb62bdb168 100644 --- a/libavformat/mmsh.c +++ b/libavformat/mmsh.c @@ -366,7 +366,5 @@ URLProtocol ff_mmsh_protocol = { .name = "mmsh", .url_open = mmsh_open, .url_read = mmsh_read, - .url_write = NULL, - .url_seek = NULL, .url_close = mmsh_close, }; diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 982903829f9ab81d36ecd1c7aa03176fdac5d05d..f740a25f89f96cd527ba74165793624a2864a9bf 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -614,7 +614,6 @@ AVInputFormat ff_mpegps_demuxer = { .read_probe = mpegps_probe, .read_header = mpegps_read_header, .read_packet = mpegps_read_packet, - .read_seek = NULL, //mpegps_read_seek, .read_timestamp = mpegps_read_dts, .flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT, }; diff --git a/libavformat/rsodec.c b/libavformat/rsodec.c index 0f7588bd8aaa6599da23072a558f27cf37ffa590..cdce7e674394f682710427f7f56e53b56d6b2478 100644 --- a/libavformat/rsodec.c +++ b/libavformat/rsodec.c @@ -92,11 +92,8 @@ AVInputFormat ff_rso_demuxer = { .name = "rso", .long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO format"), .extensions = "rso", - .priv_data_size = 0, - .read_probe = NULL, /* no magic value in this format */ .read_header = rso_read_header, .read_packet = rso_read_packet, - .read_close = NULL, .read_seek = pcm_read_seek, .codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0}, }; diff --git a/libavformat/rsoenc.c b/libavformat/rsoenc.c index 338ecf01733d525e96bbacedd8341aa56b34c7bf..f338d0df4ec98a2a27a80ace5793ddf6c3df3e11 100644 --- a/libavformat/rsoenc.c +++ b/libavformat/rsoenc.c @@ -104,7 +104,6 @@ AVOutputFormat ff_rso_muxer = { .name = "rso", .long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO format"), .extensions = "rso", - .priv_data_size = 0, .audio_codec = CODEC_ID_PCM_U8, .video_codec = CODEC_ID_NONE, .write_header = rso_write_header, diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpdec_mpeg4.c index 65071bd4d33f7d5fc72d11c6bb4dfc1f1354bb05..b143c1aee87b67c8a8ccd11fa3c4c564196858e6 100644 --- a/libavformat/rtpdec_mpeg4.c +++ b/libavformat/rtpdec_mpeg4.c @@ -234,9 +234,6 @@ RTPDynamicProtocolHandler ff_mp4v_es_dynamic_handler = { .codec_type = AVMEDIA_TYPE_VIDEO, .codec_id = CODEC_ID_MPEG4, .parse_sdp_a_line = parse_sdp_line, - .alloc = NULL, - .free = NULL, - .parse_packet = NULL }; RTPDynamicProtocolHandler ff_mpeg4_generic_dynamic_handler = { diff --git a/libavformat/tls.c b/libavformat/tls.c index 339b799322bc024456a417ae1a06b88f8624d4ae..26f5ee51066018cfe335c355e35252b775e0636b 100644 --- a/libavformat/tls.c +++ b/libavformat/tls.c @@ -246,7 +246,6 @@ URLProtocol ff_tls_protocol = { .url_open = tls_open, .url_read = tls_read, .url_write = tls_write, - .url_seek = NULL, .url_close = tls_close, .priv_data_size = sizeof(TLSContext), };