@@ -443,7 +443,6 @@ AVHWAccel ff_h264_dxva2_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_H264, | .id = CODEC_ID_H264, | ||||
.pix_fmt = PIX_FMT_DXVA2_VLD, | .pix_fmt = PIX_FMT_DXVA2_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = start_frame, | .start_frame = start_frame, | ||||
.decode_slice = decode_slice, | .decode_slice = decode_slice, | ||||
.end_frame = end_frame, | .end_frame = end_frame, | ||||
@@ -265,7 +265,6 @@ AVHWAccel ff_mpeg2_dxva2_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_MPEG2VIDEO, | .id = CODEC_ID_MPEG2VIDEO, | ||||
.pix_fmt = PIX_FMT_DXVA2_VLD, | .pix_fmt = PIX_FMT_DXVA2_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = start_frame, | .start_frame = start_frame, | ||||
.decode_slice = decode_slice, | .decode_slice = decode_slice, | ||||
.end_frame = end_frame, | .end_frame = end_frame, | ||||
@@ -269,7 +269,6 @@ AVHWAccel ff_wmv3_dxva2_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_WMV3, | .id = CODEC_ID_WMV3, | ||||
.pix_fmt = PIX_FMT_DXVA2_VLD, | .pix_fmt = PIX_FMT_DXVA2_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = start_frame, | .start_frame = start_frame, | ||||
.decode_slice = decode_slice, | .decode_slice = decode_slice, | ||||
.end_frame = end_frame, | .end_frame = end_frame, | ||||
@@ -282,7 +281,6 @@ AVHWAccel ff_vc1_dxva2_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_VC1, | .id = CODEC_ID_VC1, | ||||
.pix_fmt = PIX_FMT_DXVA2_VLD, | .pix_fmt = PIX_FMT_DXVA2_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = start_frame, | .start_frame = start_frame, | ||||
.decode_slice = decode_slice, | .decode_slice = decode_slice, | ||||
.end_frame = end_frame, | .end_frame = end_frame, | ||||
@@ -108,6 +108,5 @@ static int mjpeg2jpeg_filter(AVBitStreamFilterContext *bsfc, | |||||
AVBitStreamFilter ff_mjpeg2jpeg_bsf = { | AVBitStreamFilter ff_mjpeg2jpeg_bsf = { | ||||
.name = "mjpeg2jpeg", | .name = "mjpeg2jpeg", | ||||
.priv_data_size = 0, | |||||
.filter = mjpeg2jpeg_filter, | .filter = mjpeg2jpeg_filter, | ||||
}; | }; |
@@ -134,7 +134,6 @@ AVCodec ff_s302m_decoder = { | |||||
.name = "s302m", | .name = "s302m", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_S302M, | .id = CODEC_ID_S302M, | ||||
.priv_data_size = 0, | |||||
.decode = s302m_decode_frame, | .decode = s302m_decode_frame, | ||||
.long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"), | .long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"), | ||||
}; | }; |
@@ -341,9 +341,7 @@ AVHWAccel ff_h264_vaapi_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_H264, | .id = CODEC_ID_H264, | ||||
.pix_fmt = PIX_FMT_VAAPI_VLD, | .pix_fmt = PIX_FMT_VAAPI_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = start_frame, | .start_frame = start_frame, | ||||
.end_frame = end_frame, | .end_frame = end_frame, | ||||
.decode_slice = decode_slice, | .decode_slice = decode_slice, | ||||
.priv_data_size = 0, | |||||
}; | }; |
@@ -143,9 +143,7 @@ AVHWAccel ff_mpeg2_vaapi_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_MPEG2VIDEO, | .id = CODEC_ID_MPEG2VIDEO, | ||||
.pix_fmt = PIX_FMT_VAAPI_VLD, | .pix_fmt = PIX_FMT_VAAPI_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = vaapi_mpeg2_start_frame, | .start_frame = vaapi_mpeg2_start_frame, | ||||
.end_frame = vaapi_mpeg2_end_frame, | .end_frame = vaapi_mpeg2_end_frame, | ||||
.decode_slice = vaapi_mpeg2_decode_slice, | .decode_slice = vaapi_mpeg2_decode_slice, | ||||
.priv_data_size = 0, | |||||
}; | }; |
@@ -155,11 +155,9 @@ AVHWAccel ff_mpeg4_vaapi_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_MPEG4, | .id = CODEC_ID_MPEG4, | ||||
.pix_fmt = PIX_FMT_VAAPI_VLD, | .pix_fmt = PIX_FMT_VAAPI_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = vaapi_mpeg4_start_frame, | .start_frame = vaapi_mpeg4_start_frame, | ||||
.end_frame = vaapi_mpeg4_end_frame, | .end_frame = vaapi_mpeg4_end_frame, | ||||
.decode_slice = vaapi_mpeg4_decode_slice, | .decode_slice = vaapi_mpeg4_decode_slice, | ||||
.priv_data_size = 0, | |||||
}; | }; | ||||
#endif | #endif | ||||
@@ -169,10 +167,8 @@ AVHWAccel ff_h263_vaapi_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_H263, | .id = CODEC_ID_H263, | ||||
.pix_fmt = PIX_FMT_VAAPI_VLD, | .pix_fmt = PIX_FMT_VAAPI_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = vaapi_mpeg4_start_frame, | .start_frame = vaapi_mpeg4_start_frame, | ||||
.end_frame = vaapi_mpeg4_end_frame, | .end_frame = vaapi_mpeg4_end_frame, | ||||
.decode_slice = vaapi_mpeg4_decode_slice, | .decode_slice = vaapi_mpeg4_decode_slice, | ||||
.priv_data_size = 0, | |||||
}; | }; | ||||
#endif | #endif |
@@ -346,11 +346,9 @@ AVHWAccel ff_wmv3_vaapi_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_WMV3, | .id = CODEC_ID_WMV3, | ||||
.pix_fmt = PIX_FMT_VAAPI_VLD, | .pix_fmt = PIX_FMT_VAAPI_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = vaapi_vc1_start_frame, | .start_frame = vaapi_vc1_start_frame, | ||||
.end_frame = vaapi_vc1_end_frame, | .end_frame = vaapi_vc1_end_frame, | ||||
.decode_slice = vaapi_vc1_decode_slice, | .decode_slice = vaapi_vc1_decode_slice, | ||||
.priv_data_size = 0, | |||||
}; | }; | ||||
#endif | #endif | ||||
@@ -359,9 +357,7 @@ AVHWAccel ff_vc1_vaapi_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_VC1, | .id = CODEC_ID_VC1, | ||||
.pix_fmt = PIX_FMT_VAAPI_VLD, | .pix_fmt = PIX_FMT_VAAPI_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = vaapi_vc1_start_frame, | .start_frame = vaapi_vc1_start_frame, | ||||
.end_frame = vaapi_vc1_end_frame, | .end_frame = vaapi_vc1_end_frame, | ||||
.decode_slice = vaapi_vc1_decode_slice, | .decode_slice = vaapi_vc1_decode_slice, | ||||
.priv_data_size = 0, | |||||
}; | }; |
@@ -102,7 +102,6 @@ AVHWAccel ff_h264_vda_hwaccel = { | |||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_H264, | .id = CODEC_ID_H264, | ||||
.pix_fmt = PIX_FMT_VDA_VLD, | .pix_fmt = PIX_FMT_VDA_VLD, | ||||
.capabilities = 0, | |||||
.start_frame = start_frame, | .start_frame = start_frame, | ||||
.decode_slice = decode_slice, | .decode_slice = decode_slice, | ||||
.end_frame = end_frame, | .end_frame = end_frame, | ||||
@@ -166,7 +166,6 @@ static int a64_write_trailer(struct AVFormatContext *s) | |||||
AVOutputFormat ff_a64_muxer = { | AVOutputFormat ff_a64_muxer = { | ||||
.name = "a64", | .name = "a64", | ||||
.long_name = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"), | .long_name = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"), | ||||
.mime_type = NULL, | |||||
.extensions = "a64, A64", | .extensions = "a64, A64", | ||||
.priv_data_size = sizeof (A64Context), | .priv_data_size = sizeof (A64Context), | ||||
.video_codec = CODEC_ID_A64_MULTI, | .video_codec = CODEC_ID_A64_MULTI, | ||||
@@ -176,7 +176,6 @@ static int amr_read_packet(AVFormatContext *s, | |||||
AVInputFormat ff_amr_demuxer = { | AVInputFormat ff_amr_demuxer = { | ||||
.name = "amr", | .name = "amr", | ||||
.long_name = NULL_IF_CONFIG_SMALL("3GPP AMR file format"), | .long_name = NULL_IF_CONFIG_SMALL("3GPP AMR file format"), | ||||
.priv_data_size = 0, /*priv_data_size*/ | |||||
.read_probe = amr_probe, | .read_probe = amr_probe, | ||||
.read_header = amr_read_header, | .read_header = amr_read_header, | ||||
.read_packet = amr_read_packet, | .read_packet = amr_read_packet, | ||||
@@ -366,7 +366,5 @@ URLProtocol ff_mmsh_protocol = { | |||||
.name = "mmsh", | .name = "mmsh", | ||||
.url_open = mmsh_open, | .url_open = mmsh_open, | ||||
.url_read = mmsh_read, | .url_read = mmsh_read, | ||||
.url_write = NULL, | |||||
.url_seek = NULL, | |||||
.url_close = mmsh_close, | .url_close = mmsh_close, | ||||
}; | }; |
@@ -614,7 +614,6 @@ AVInputFormat ff_mpegps_demuxer = { | |||||
.read_probe = mpegps_probe, | .read_probe = mpegps_probe, | ||||
.read_header = mpegps_read_header, | .read_header = mpegps_read_header, | ||||
.read_packet = mpegps_read_packet, | .read_packet = mpegps_read_packet, | ||||
.read_seek = NULL, //mpegps_read_seek, | |||||
.read_timestamp = mpegps_read_dts, | .read_timestamp = mpegps_read_dts, | ||||
.flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT, | .flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT, | ||||
}; | }; |
@@ -92,11 +92,8 @@ AVInputFormat ff_rso_demuxer = { | |||||
.name = "rso", | .name = "rso", | ||||
.long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO format"), | .long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO format"), | ||||
.extensions = "rso", | .extensions = "rso", | ||||
.priv_data_size = 0, | |||||
.read_probe = NULL, /* no magic value in this format */ | |||||
.read_header = rso_read_header, | .read_header = rso_read_header, | ||||
.read_packet = rso_read_packet, | .read_packet = rso_read_packet, | ||||
.read_close = NULL, | |||||
.read_seek = pcm_read_seek, | .read_seek = pcm_read_seek, | ||||
.codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0}, | .codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0}, | ||||
}; | }; |
@@ -104,7 +104,6 @@ AVOutputFormat ff_rso_muxer = { | |||||
.name = "rso", | .name = "rso", | ||||
.long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO format"), | .long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO format"), | ||||
.extensions = "rso", | .extensions = "rso", | ||||
.priv_data_size = 0, | |||||
.audio_codec = CODEC_ID_PCM_U8, | .audio_codec = CODEC_ID_PCM_U8, | ||||
.video_codec = CODEC_ID_NONE, | .video_codec = CODEC_ID_NONE, | ||||
.write_header = rso_write_header, | .write_header = rso_write_header, | ||||
@@ -234,9 +234,6 @@ RTPDynamicProtocolHandler ff_mp4v_es_dynamic_handler = { | |||||
.codec_type = AVMEDIA_TYPE_VIDEO, | .codec_type = AVMEDIA_TYPE_VIDEO, | ||||
.codec_id = CODEC_ID_MPEG4, | .codec_id = CODEC_ID_MPEG4, | ||||
.parse_sdp_a_line = parse_sdp_line, | .parse_sdp_a_line = parse_sdp_line, | ||||
.alloc = NULL, | |||||
.free = NULL, | |||||
.parse_packet = NULL | |||||
}; | }; | ||||
RTPDynamicProtocolHandler ff_mpeg4_generic_dynamic_handler = { | RTPDynamicProtocolHandler ff_mpeg4_generic_dynamic_handler = { | ||||
@@ -246,7 +246,6 @@ URLProtocol ff_tls_protocol = { | |||||
.url_open = tls_open, | .url_open = tls_open, | ||||
.url_read = tls_read, | .url_read = tls_read, | ||||
.url_write = tls_write, | .url_write = tls_write, | ||||
.url_seek = NULL, | |||||
.url_close = tls_close, | .url_close = tls_close, | ||||
.priv_data_size = sizeof(TLSContext), | .priv_data_size = sizeof(TLSContext), | ||||
}; | }; |