Mercurial > libavcodec.hg
changeset 8721:42e258f2b931 libavcodec
Silence two pointer assignment compiler warnings in rv34.c
author | kostya |
---|---|
date | Sun, 01 Feb 2009 15:03:40 +0000 |
parents | 052c676c433b |
children | ad457492fd92 |
files | rv34.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rv34.c Sun Feb 01 14:44:51 2009 +0000 +++ b/rv34.c Sun Feb 01 15:03:40 2009 +0000 @@ -223,7 +223,7 @@ int ones; static const int cbp_masks[3] = {0x100000, 0x010000, 0x110000}; static const int shifts[4] = { 0, 2, 8, 10 }; - int *curshift = shifts; + const int *curshift = shifts; int i, t, mask; code = get_vlc2(gb, vlc->cbppattern[table].table, 9, 2); @@ -883,7 +883,7 @@ } if(!right && up){ topleft = dst[-stride + 3] * 0x01010101; - prev = &topleft; + prev = (uint8_t*)&topleft; } r->h.pred4x4[itype](dst, prev, stride); }