diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-06 22:36:55 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-06 22:36:55 +0000 |
commit | 4f602a041522c7fc809dcc5192489cc9febb19e7 (patch) | |
tree | fe6c93d6490ade3902dab58225aed088a880f3a6 /libavcodec/dsputil.c | |
parent | bb174ff1f963052af3c292145e4b301f7145256e (diff) | |
download | ffmpeg-4f602a041522c7fc809dcc5192489cc9febb19e7.tar.gz |
Move some VC1 dsp prototypes to dsputil.h; they are defined in dsputil.c
Also fix function definitions to match prototypes (missing const).
Originally committed as revision 22263 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 3e2237351d..f81f376cdc 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -2811,10 +2811,10 @@ void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride) { #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 */ |