diff dsputil.c @ 12466:0a306a267dbf libavcodec

Reimplement ff_img_copy_plane() as av_image_copy_plane() in libavcore, and deprecate the old function.
author stefano
date Tue, 07 Sep 2010 21:23:45 +0000
parents 4269ae88366b
children
line wrap: on
line diff
--- a/dsputil.c	Tue Sep 07 20:46:29 2010 +0000
+++ b/dsputil.c	Tue Sep 07 21:23:45 2010 +0000
@@ -27,6 +27,7 @@
  * DSP utils
  */
 
+#include "libavcore/imgutils.h"
 #include "avcodec.h"
 #include "dsputil.h"
 #include "simple_idct.h"
@@ -4454,7 +4455,7 @@
     c->sv_fmul_scalar[0] = sv_fmul_scalar_2_c;
     c->sv_fmul_scalar[1] = sv_fmul_scalar_4_c;
 
-    c->shrink[0]= ff_img_copy_plane;
+    c->shrink[0]= av_image_copy_plane;
     c->shrink[1]= ff_shrink22;
     c->shrink[2]= ff_shrink44;
     c->shrink[3]= ff_shrink88;