X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fimgconvert_template.h;h=2d23be87b9aab8a13b0a9a7a63dc85f629dfc2c4;hb=f34b221bd2bffc18e9d383b3e159a03b411818e9;hp=c37fc3baaa2a6469ccb05c3d5c7c47d52ebf106f;hpb=6a03549e8a25c2223c117201424899339c0e7be7;p=ffmpeg diff --git a/libavcodec/imgconvert_template.h b/libavcodec/imgconvert_template.h index c37fc3baaa2..2d23be87b9a 100644 --- a/libavcodec/imgconvert_template.h +++ b/libavcodec/imgconvert_template.h @@ -19,8 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* This header has no multiple inclusion guards as it gets - * included multiple times. */ +/* This header intentionally has no multiple inclusion guards. It is meant to + * be included multiple times and generates different code depending on the + * value of certain #defines. */ #ifndef RGB_OUT #define RGB_OUT(d, r, g, b) RGBA_OUT(d, r, g, b, 0xff) @@ -413,7 +414,7 @@ static void glue(pal8_to_, RGB_NAME)(AVPicture *dst, const AVPicture *src, } } -// RGB24 has optimised routines +// RGB24 has optimized routines #if !defined(FMT_RGB32) && !defined(FMT_RGB24) /* alpha support */