changeset 32022:4cdf76e4317c

av_fill_image_linesizes -> av_image_fill_linesizes
author ramiro
date Wed, 08 Sep 2010 23:36:02 +0000
parents 1d9f646f8db3
children d54834686eb0
files libswscale/swscale-test.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale-test.c	Wed Sep 08 20:10:54 2010 +0000
+++ b/libswscale/swscale-test.c	Wed Sep 08 23:36:02 2010 +0000
@@ -87,7 +87,7 @@
     uint32_t crc = 0;
     int res = 0;
 
-    av_fill_image_linesizes(dstStride, dstFormat, dstW);
+    av_image_fill_linesizes(dstStride, dstFormat, dstW);
     for (i=0; i<4; i++) {
         /* Image buffers passed into libswscale can be allocated any way you
          * prefer, as long as they're aligned enough for the architecture, and
@@ -205,7 +205,7 @@
                 uint8_t *src[4] = {0};
                 int srcStride[4];
                 int p;
-                av_fill_image_linesizes(srcStride, srcFormat, srcW);
+                av_image_fill_linesizes(srcStride, srcFormat, srcW);
                 for (p = 0; p < 4; p++) {
                     if (srcStride[p])
                         src[p] = av_mallocz(srcStride[p]*srcH+16);