diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-12 15:00:04 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-12 15:00:04 +0000 |
commit | 18f770162b9d079f2d278a719d7684dd19d86202 (patch) | |
tree | 5c77ea1c50f73765a3378392b4d311c8543329f0 /libavcodec/common.c | |
parent | 92ddb69283d36a3b930fe94ab9f1b4503939b5d1 (diff) | |
download | ffmpeg-18f770162b9d079f2d278a719d7684dd19d86202.tar.gz |
* fixing some minor const warnings
Originally committed as revision 1205 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.c')
-rw-r--r-- | libavcodec/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/common.c b/libavcodec/common.c index 1140d56cc0..2344dc6be3 100644 --- a/libavcodec/common.c +++ b/libavcodec/common.c @@ -133,7 +133,7 @@ void align_get_bits(GetBitContext *s) if(n) skip_bits(s, n); } -int check_marker(GetBitContext *s, char *msg) +int check_marker(GetBitContext *s, const char *msg) { int bit= get_bits1(s); if(!bit) printf("Marker bit missing %s\n", msg); @@ -147,7 +147,7 @@ int check_marker(GetBitContext *s, char *msg) #define GET_DATA(v, table, i, wrap, size) \ {\ - UINT8 *ptr = (UINT8 *)table + i * wrap;\ + const UINT8 *ptr = (UINT8 *)table + i * wrap;\ switch(size) {\ case 1:\ v = *(UINT8 *)ptr;\ |