Mercurial > mplayer.hg
comparison libmpcodecs/img_format.c @ 19108:5e767cabf4cd
marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
author | reynaldo |
---|---|
date | Sun, 16 Jul 2006 01:20:30 +0000 |
parents | dc65faaadb04 |
children | a9bf0730f6b2 |
comparison
equal
deleted
inserted
replaced
19107:251872bee3e0 | 19108:5e767cabf4cd |
---|---|
1 #include "config.h" | 1 #include "config.h" |
2 #include "img_format.h" | 2 #include "img_format.h" |
3 | 3 |
4 char *vo_format_name(int format) | 4 const char *vo_format_name(int format) |
5 { | 5 { |
6 switch(format) | 6 switch(format) |
7 { | 7 { |
8 case IMGFMT_RGB1: return("RGB 1-bit"); | 8 case IMGFMT_RGB1: return("RGB 1-bit"); |
9 case IMGFMT_RGB4: return("RGB 4-bit"); | 9 case IMGFMT_RGB4: return("RGB 4-bit"); |