Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user