summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2009-02-11 06:03:18 +0000
committerAlexander Strange <astrange@ithinksw.com>2009-02-11 06:03:18 +0000
commit898189880bc624e3e1bdfc05fb2d238b3229fe98 (patch)
tree0f9b420ed53aa371e8c965c8e8a8cb1de46fad70 /libavcodec/h264.c
parenta5929abe7a004d4a3944c14feb45cd55d197b251 (diff)
H264: Change left_block_options to uint8_t from int, saving a little space.
Originally committed as revision 17147 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 603e6f2505..8853b845dc 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -96,7 +96,7 @@ static const uint8_t div6[52]={
0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8,
};
-static const int left_block_options[4][8]={
+static const uint8_t left_block_options[4][8]={
{0,1,2,3,7,10,8,11},
{2,2,3,3,8,11,8,11},
{0,0,1,1,7,10,7,10},
@@ -111,7 +111,7 @@ static void fill_caches(H264Context *h, int mb_type, int for_deblock){
const int mb_xy= h->mb_xy;
int topleft_xy, top_xy, topright_xy, left_xy[2];
int topleft_type, top_type, topright_type, left_type[2];
- const int * left_block;
+ const uint8_t * left_block;
int topleft_partition= -1;
int i;