Mercurial > libavcodec.hg
diff raw.c @ 11751:378caf7b42ef libavcodec
Rename ff_raw_pixelFormatTags symbol to ff_raw_pix_fmt_tags.
The new name is shorter and consistent with the FFmpeg style.
author | stefano |
---|---|
date | Thu, 20 May 2010 23:09:11 +0000 |
parents | 87a5abd9b1ae |
children | 9371254837b5 |
line wrap: on
line diff
--- a/raw.c Thu May 20 21:27:01 2010 +0000 +++ b/raw.c Thu May 20 23:09:11 2010 +0000 @@ -27,7 +27,7 @@ #include "avcodec.h" #include "raw.h" -const PixelFormatTag ff_raw_pixelFormatTags[] = { +const PixelFormatTag ff_raw_pix_fmt_tags[] = { { PIX_FMT_YUV420P, MKTAG('I', '4', '2', '0') }, /* Planar formats */ { PIX_FMT_YUV420P, MKTAG('I', 'Y', 'U', 'V') }, { PIX_FMT_YUV420P, MKTAG('Y', 'V', '1', '2') }, @@ -114,7 +114,7 @@ unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat fmt) { - const PixelFormatTag * tags = ff_raw_pixelFormatTags; + const PixelFormatTag *tags = ff_raw_pix_fmt_tags; while (tags->pix_fmt >= 0) { if (tags->pix_fmt == fmt) return tags->fourcc;