changeset 11784:eaf3ffb5df56 libavcodec

Add const to ff_emulated_edge_mc
author conrad
date Thu, 27 May 2010 04:39:27 +0000
parents f97b1759c39a
children 7912d72bea7c
files dsputil.c dsputil.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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);