mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-21 16:10:16 +08:00
Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user