[FFmpeg-cvslog] r23348 - in trunk/libavcodec: dsputil.c dsputil.h

conrad subversion
Thu May 27 06:39:27 CEST 2010


Author: conrad
Date: Thu May 27 06:39:27 2010
New Revision: 23348

Log:
Add const to ff_emulated_edge_mc

Modified:
   trunk/libavcodec/dsputil.c
   trunk/libavcodec/dsputil.h

Modified: trunk/libavcodec/dsputil.c
==============================================================================
--- trunk/libavcodec/dsputil.c	Thu May 27 06:39:23 2010	(r23347)
+++ trunk/libavcodec/dsputil.c	Thu May 27 06:39:27 2010	(r23348)
@@ -369,7 +369,7 @@ static void draw_edges_c(uint8_t *buf, i
  * @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;

Modified: trunk/libavcodec/dsputil.h
==============================================================================
--- trunk/libavcodec/dsputil.h	Thu May 27 06:39:23 2010	(r23347)
+++ trunk/libavcodec/dsputil.h	Thu May 27 06:39:27 2010	(r23348)
@@ -197,7 +197,7 @@ typedef struct ScanTable{
 
 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);
 



More information about the ffmpeg-cvslog mailing list