summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-12 22:05:18 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-12 22:05:18 +0000
commite5747706335ac6b535ce6b1a18f89f0c656c91d3 (patch)
tree96f2a6061287a975445801192845dfb9338869ed /libavcodec
parent94e57758da3af63eccdc65990956978f23dd680a (diff)
Change ff_raw_pixelFormatTags RGB entries (RGB555, BGR555, RGB565,
BGR565, RGB565) to make them specify the tags for the LE variants rather than for the native endian ones. Fix NUT compatibility. Originally committed as revision 22866 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/raw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 91aba49421..d71b08b5eb 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -56,11 +56,11 @@ const PixelFormatTag ff_raw_pixelFormatTags[] = {
{ PIX_FMT_UYVY422, MKTAG('A', 'V', 'u', 'p') },
{ PIX_FMT_UYVY422, MKTAG('V', 'D', 'T', 'Z') }, /* SoftLab-NSK VideoTizer */
{ PIX_FMT_GRAY8, MKTAG('G', 'R', 'E', 'Y') },
- { PIX_FMT_RGB555, MKTAG('R', 'G', 'B', 15) },
- { PIX_FMT_BGR555, MKTAG('B', 'G', 'R', 15) },
- { PIX_FMT_RGB565, MKTAG('R', 'G', 'B', 16) },
- { PIX_FMT_BGR565, MKTAG('B', 'G', 'R', 16) },
- { PIX_FMT_RGB565, MKTAG( 3 , 0 , 0 , 0 ) },
+ { PIX_FMT_RGB555LE, MKTAG('R', 'G', 'B', 15) },
+ { PIX_FMT_BGR555LE, MKTAG('B', 'G', 'R', 15) },
+ { PIX_FMT_RGB565LE, MKTAG('R', 'G', 'B', 16) },
+ { PIX_FMT_BGR565LE, MKTAG('B', 'G', 'R', 16) },
+ { PIX_FMT_RGB565LE, MKTAG( 3 , 0 , 0 , 0) },
/* quicktime */
{ PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') },