# HG changeset patch # User conrad # Date 1274935167 0 # Node ID eaf3ffb5df5615f690d0449f7cc17dddb24a69a2 # Parent f97b1759c39a385155ddda88cd3d2f827be575a6 Add const to ff_emulated_edge_mc diff -r f97b1759c39a -r eaf3ffb5df56 dsputil.c --- a/dsputil.c Thu May 27 04:39:23 2010 +0000 +++ b/dsputil.c Thu May 27 04:39:27 2010 +0000 @@ -369,7 +369,7 @@ * @param w width of the source buffer * @param h height of the source buffer */ -void ff_emulated_edge_mc(uint8_t *buf, uint8_t *src, int linesize, int block_w, int block_h, +void ff_emulated_edge_mc(uint8_t *buf, const uint8_t *src, int linesize, int block_w, int block_h, int src_x, int src_y, int w, int h){ int x, y; int start_y, start_x, end_y, end_x; diff -r f97b1759c39a -r eaf3ffb5df56 dsputil.h --- a/dsputil.h Thu May 27 04:39:23 2010 +0000 +++ b/dsputil.h Thu May 27 04:39:27 2010 +0000 @@ -197,7 +197,7 @@ void ff_init_scantable(uint8_t *, ScanTable *st, const uint8_t *src_scantable); -void ff_emulated_edge_mc(uint8_t *buf, uint8_t *src, int linesize, +void ff_emulated_edge_mc(uint8_t *buf, const uint8_t *src, int linesize, int block_w, int block_h, int src_x, int src_y, int w, int h);