[FFmpeg-cvslog] r23206 - in trunk/libavcodec: avcodec.h raw.c raw.h rawdec.c
stefano
subversion
Fri May 21 01:09:12 CEST 2010
Author: stefano
Date: Fri May 21 01:09:11 2010
New Revision: 23206
Log:
Rename ff_raw_pixelFormatTags symbol to ff_raw_pix_fmt_tags.
The new name is shorter and consistent with the FFmpeg style.
Modified:
trunk/libavcodec/avcodec.h
trunk/libavcodec/raw.c
trunk/libavcodec/raw.h
trunk/libavcodec/rawdec.c
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h Fri May 21 00:46:11 2010 (r23205)
+++ trunk/libavcodec/avcodec.h Fri May 21 01:09:11 2010 (r23206)
@@ -31,7 +31,7 @@
#define LIBAVCODEC_VERSION_MAJOR 52
#define LIBAVCODEC_VERSION_MINOR 68
-#define LIBAVCODEC_VERSION_MICRO 2
+#define LIBAVCODEC_VERSION_MICRO 3
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
Modified: trunk/libavcodec/raw.c
==============================================================================
--- trunk/libavcodec/raw.c Fri May 21 00:46:11 2010 (r23205)
+++ trunk/libavcodec/raw.c Fri May 21 01:09:11 2010 (r23206)
@@ -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 @@ const PixelFormatTag ff_raw_pixelFormatT
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;
Modified: trunk/libavcodec/raw.h
==============================================================================
--- trunk/libavcodec/raw.h Fri May 21 00:46:11 2010 (r23205)
+++ trunk/libavcodec/raw.h Fri May 21 01:09:11 2010 (r23206)
@@ -34,6 +34,6 @@ typedef struct PixelFormatTag {
unsigned int fourcc;
} PixelFormatTag;
-extern const PixelFormatTag ff_raw_pixelFormatTags[];
+extern const PixelFormatTag ff_raw_pix_fmt_tags[];
#endif /* AVCODEC_RAW_H */
Modified: trunk/libavcodec/rawdec.c
==============================================================================
--- trunk/libavcodec/rawdec.c Fri May 21 00:46:11 2010 (r23205)
+++ trunk/libavcodec/rawdec.c Fri May 21 01:09:11 2010 (r23206)
@@ -75,7 +75,7 @@ static av_cold int raw_init_decoder(AVCo
if (avctx->codec_tag == MKTAG('r','a','w',' '))
avctx->pix_fmt = findPixelFormat(pixelFormatBpsMOV, avctx->bits_per_coded_sample);
else if (avctx->codec_tag)
- avctx->pix_fmt = findPixelFormat(ff_raw_pixelFormatTags, avctx->codec_tag);
+ avctx->pix_fmt = findPixelFormat(ff_raw_pix_fmt_tags, avctx->codec_tag);
else if (avctx->bits_per_coded_sample)
avctx->pix_fmt = findPixelFormat(pixelFormatBpsAVI, avctx->bits_per_coded_sample);
More information about the ffmpeg-cvslog
mailing list