Mercurial > mplayer.hg
comparison libmpcodecs/img_format.c @ 26701:85dc7d81935c
cosmetics: Fix unknow vs. unknowN typo.
author | diego |
---|---|
date | Sun, 11 May 2008 11:57:05 +0000 |
parents | a9bf0730f6b2 |
children | 63630c09e237 |
comparison
equal
deleted
inserted
replaced
26700:c512e684eb6f | 26701:85dc7d81935c |
---|---|
2 #include "img_format.h" | 2 #include "img_format.h" |
3 #include "stdio.h" | 3 #include "stdio.h" |
4 | 4 |
5 const char *vo_format_name(int format) | 5 const char *vo_format_name(int format) |
6 { | 6 { |
7 static char unknow_format[20]; | 7 static char unknown_format[20]; |
8 switch(format) | 8 switch(format) |
9 { | 9 { |
10 case IMGFMT_RGB1: return("RGB 1-bit"); | 10 case IMGFMT_RGB1: return("RGB 1-bit"); |
11 case IMGFMT_RGB4: return("RGB 4-bit"); | 11 case IMGFMT_RGB4: return("RGB 4-bit"); |
12 case IMGFMT_RG4B: return("RGB 4-bit per byte"); | 12 case IMGFMT_RG4B: return("RGB 4-bit per byte"); |
66 case IMGFMT_ZRMJPEGIT: return("Zoran MJPEG top field first"); | 66 case IMGFMT_ZRMJPEGIT: return("Zoran MJPEG top field first"); |
67 case IMGFMT_ZRMJPEGIB: return("Zoran MJPEG bottom field first"); | 67 case IMGFMT_ZRMJPEGIB: return("Zoran MJPEG bottom field first"); |
68 case IMGFMT_XVMC_MOCO_MPEG2: return("MPEG1/2 Motion Compensation"); | 68 case IMGFMT_XVMC_MOCO_MPEG2: return("MPEG1/2 Motion Compensation"); |
69 case IMGFMT_XVMC_IDCT_MPEG2: return("MPEG1/2 Motion Compensation and IDCT"); | 69 case IMGFMT_XVMC_IDCT_MPEG2: return("MPEG1/2 Motion Compensation and IDCT"); |
70 } | 70 } |
71 snprintf(unknow_format,20,"Unknown 0x%04x",format); | 71 snprintf(unknown_format,20,"Unknown 0x%04x",format); |
72 return unknow_format; | 72 return unknown_format; |
73 } | 73 } |