On Fri, Aug 11, 2017 at 12:36:58AM +0100, Mark Thompson wrote: > --- a/libavcodec/cbs_h2645.c > +++ b/libavcodec/cbs_h2645.c > @@ -299,6 +302,10 @@ static int > cbs_h2645_read_more_rbsp_data(BitstreamContext *bc) > #include "cbs_h264_syntax.c" > #undef FUNC > > +#define FUNC(name) FUNC_H265(READWRITE, name) > +#include "cbs_h265_syntax.c" > +#undef FUNC > + > @@ -368,6 +375,10 @@ static int > cbs_h2645_read_more_rbsp_data(BitstreamContext *bc) > #include "cbs_h264_syntax.c" > #undef FUNC > > +#define FUNC(name) FUNC_H265(READWRITE, name) > +#include "cbs_h265_syntax.c" > +#undef FUNC
The convention is for these files to be called *_template.c. Diego _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel