# HG changeset patch # User kabi # Date 1078495752 0 # Node ID ebad3488800277e442dda9720e2203f71f4a7aab # Parent 7072086a0dd3ce320146a5cdf14473e9bea21e59 * const warn elimination diff -r 7072086a0dd3 -r ebad34888002 mpeg12.c --- a/mpeg12.c Fri Mar 05 14:08:33 2004 +0000 +++ b/mpeg12.c Fri Mar 05 14:09:12 2004 +0000 @@ -2288,7 +2288,7 @@ 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;