summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2004-03-05 14:09:12 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2004-03-05 14:09:12 +0000
commit49a37411f369a3ab391243c46b24bb9e346b3aaf (patch)
tree62fe82a7daaf3491f1c5e24802414057319e6192 /libavcodec
parent62c438a241ff9cb31080c5f0a69071615af2a475 (diff)
* const warn elimination
Originally committed as revision 2846 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 07fddd568b..9bde714d62 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -2288,7 +2288,7 @@ eos: // end of slice
static int slice_decode_thread(AVCodecContext *c, void *arg){
MpegEncContext *s= arg;
- uint8_t *buf= s->gb.buffer;
+ const uint8_t *buf= s->gb.buffer;
int mb_y= s->start_mb_y;
s->error_count= 3*(s->end_mb_y - s->start_mb_y)*s->mb_width;