Mercurial > libavcodec.hg
comparison h264.c @ 8320:0de488aa4fb0 libavcodec
Add a few const qualifiers in appropriate places.
patch by Anders Grnberg, galileo.m2 gmail com
author | diego |
---|---|
date | Sun, 14 Dec 2008 12:24:50 +0000 |
parents | 2e8368ea591a |
children | 7c00e980c153 |
comparison
equal
deleted
inserted
replaced
8319:3e7dd8cfa97f | 8320:0de488aa4fb0 |
---|---|
104 static void fill_caches(H264Context *h, int mb_type, int for_deblock){ | 104 static void fill_caches(H264Context *h, int mb_type, int for_deblock){ |
105 MpegEncContext * const s = &h->s; | 105 MpegEncContext * const s = &h->s; |
106 const int mb_xy= h->mb_xy; | 106 const int mb_xy= h->mb_xy; |
107 int topleft_xy, top_xy, topright_xy, left_xy[2]; | 107 int topleft_xy, top_xy, topright_xy, left_xy[2]; |
108 int topleft_type, top_type, topright_type, left_type[2]; | 108 int topleft_type, top_type, topright_type, left_type[2]; |
109 int * left_block; | 109 const int * left_block; |
110 int topleft_partition= -1; | 110 int topleft_partition= -1; |
111 int i; | 111 int i; |
112 | 112 |
113 top_xy = mb_xy - (s->mb_stride << FIELD_PICTURE); | 113 top_xy = mb_xy - (s->mb_stride << FIELD_PICTURE); |
114 | 114 |