[FFmpeg-cvslog] r11528 - in trunk: libavcodec/msmpeg4.c libavutil/base64.c
diego
subversion
Mon Jan 14 23:10:20 CET 2008
Author: diego
Date: Mon Jan 14 23:10:19 2008
New Revision: 11528
Log:
Add a couple of missing consts.
patch by Sigbj?rn Skj?ret, cisc broadpark no
Modified:
trunk/libavcodec/msmpeg4.c
trunk/libavutil/base64.c
Modified: trunk/libavcodec/msmpeg4.c
==============================================================================
--- trunk/libavcodec/msmpeg4.c (original)
+++ trunk/libavcodec/msmpeg4.c Mon Jan 14 23:10:19 2008
@@ -70,7 +70,7 @@ static int msmpeg4v12_decode_mb(MpegEncC
static int msmpeg4v34_decode_mb(MpegEncContext *s, DCTELEM block[6][64]);
/* vc1 externs */
-extern uint8_t wmv3_dc_scale_table[32];
+extern const uint8_t wmv3_dc_scale_table[32];
#ifdef DEBUG
int intra_count = 0;
Modified: trunk/libavutil/base64.c
==============================================================================
--- trunk/libavutil/base64.c (original)
+++ trunk/libavutil/base64.c Mon Jan 14 23:10:19 2008
@@ -29,7 +29,7 @@
#include "base64.h"
/* ---------------- private code */
-static uint8_t map2[] =
+static const uint8_t map2[] =
{
0x3e, 0xff, 0xff, 0xff, 0x3f, 0x34, 0x35, 0x36,
0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0xff,
More information about the ffmpeg-cvslog
mailing list