Mercurial > libavcodec.hg
diff dsputil.c @ 11378:f46b68960464 libavcodec
Move some VC1 dsp prototypes to dsputil.h; they are defined in dsputil.c
Also fix function definitions to match prototypes (missing const).
author | mru |
---|---|
date | Sat, 06 Mar 2010 22:36:55 +0000 |
parents | 0b220468ba0d |
children | 4b0cc1b97def |
line wrap: on
line diff
--- a/dsputil.c Sat Mar 06 22:36:52 2010 +0000 +++ b/dsputil.c Sat Mar 06 22:36:55 2010 +0000 @@ -2811,10 +2811,10 @@ #if CONFIG_VC1_DECODER /* VC-1 specific */ -void ff_put_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) { +void ff_put_vc1_mspel_mc00_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { put_pixels8_c(dst, src, stride, 8); } -void ff_avg_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) { +void ff_avg_vc1_mspel_mc00_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { avg_pixels8_c(dst, src, stride, 8); } #endif /* CONFIG_VC1_DECODER */