Mercurial > libavcodec.hg
comparison mpeg12.c @ 1861:ebad34888002 libavcodec
* const warn elimination
author | kabi |
---|---|
date | Fri, 05 Mar 2004 14:09:12 +0000 |
parents | ea2a4058441c |
children | 126e075e6034 |
comparison
equal
deleted
inserted
replaced
1860:7072086a0dd3 | 1861:ebad34888002 |
---|---|
2286 return 0; | 2286 return 0; |
2287 } | 2287 } |
2288 | 2288 |
2289 static int slice_decode_thread(AVCodecContext *c, void *arg){ | 2289 static int slice_decode_thread(AVCodecContext *c, void *arg){ |
2290 MpegEncContext *s= arg; | 2290 MpegEncContext *s= arg; |
2291 uint8_t *buf= s->gb.buffer; | 2291 const uint8_t *buf= s->gb.buffer; |
2292 int mb_y= s->start_mb_y; | 2292 int mb_y= s->start_mb_y; |
2293 | 2293 |
2294 s->error_count= 3*(s->end_mb_y - s->start_mb_y)*s->mb_width; | 2294 s->error_count= 3*(s->end_mb_y - s->start_mb_y)*s->mb_width; |
2295 | 2295 |
2296 for(;;){ | 2296 for(;;){ |