Diego Biurrun <[email protected]> writes: > On Wed, Nov 23, 2011 at 01:23:55PM +0100, Janne Grunau wrote: >> On Tue, Nov 22, 2011 at 12:22:36AM +0100, Sebastien Zwickert wrote: >> >> > --- a/libavcodec/vda_h264.c >> > +++ b/libavcodec/vda_h264.c >> > @@ -106,5 +90,5 @@ AVHWAccel ff_h264_vda_hwaccel = { >> > .start_frame = start_frame, >> > .decode_slice = decode_slice, >> > .end_frame = end_frame, >> > - .priv_data_size = sizeof(struct vda_picture_context), >> > + .priv_data_size = 0, >> >> you can just ommit .priv_data_size if it's 0 > > We have many AVCodec or AVHWAccel etc. declarations with 0 or NULL assignments > in them. Would a patch eliminating those be welcome?
I wouldn't mind such a patch. They are probably the result of not having designated initialisers in the past. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
