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

James Almer jamrial at gmail.com
Thu Aug 8 22:57:10 CEST 2013


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

Regards.


More information about the ffmpeg-devel mailing list