On Sat, Aug 12, 2017 at 07:23:50PM +0100, Mark Thompson wrote: > On 12/08/17 09:44, Diego Biurrun wrote: > > On Fri, Aug 11, 2017 at 12:36:57AM +0100, Mark Thompson wrote: > >> --- /dev/null > >> +++ b/libavcodec/cbs_h2645.c > >> @@ -0,0 +1,997 @@ > >> + > >> +#define FUNC(name) FUNC_H264(READWRITE, name) > >> +#include "cbs_h264_syntax.c" > >> +#undef FUNC > >> + > >> +#define FUNC(name) FUNC_H264(READWRITE, name) > >> +#include "cbs_h264_syntax.c" > >> +#undef FUNC > > > > The convention is for these files to be called *_template.c. > > Given that I'm making a load of these files and they have pretty > clearly-defined contents, can I create a new convention?
Well, they really are template files - what's the problem, the name gets too long for your taste? cbs_h264_template.c would work as well, unless you also have cbs_h264_something_else.c in the queue. I do believe that naming conventions do help organize things sensibly, so I'm reluctant to let this go to be honest... Diego _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel