[FFmpeg-devel] [PATCH] Reduce MAKE_ACCESSORS code duplication via a new header.

Lukasz M lukasz.m.luki at gmail.com
Fri Aug 9 03:17:29 CEST 2013


W dniu czwartek, 8 sierpnia 2013 użytkownik James Almer napisał:

> On 08/08/13 3:02 PM, Reimar Döffinger wrote:
> > ---
> >  libavcodec/utils.c    | 5 +----
> >  libavformat/utils.c   | 5 +----
> >  libavutil/accessors.h | 3 +++
> >  libavutil/frame.c     | 4 +---
> >  4 files changed, 6 insertions(+), 11 deletions(-)
> >  create mode 100644 libavutil/accessors.h
>
> A bit late to the party, but wouldn't it make more sense to add this
> to libavutil/internal.h or some other existing general usage header?
>
> In any case, you should add a copyright header to accessors.h
>
> header guard is also missing :)


More information about the ffmpeg-devel mailing list