diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-09-08 23:36:02 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-09-08 23:36:02 +0000 |
commit | 4389d606e6ce1be6e1ad41142069cb897f7f4559 (patch) | |
tree | 71967359ca42c687a78b424dcb50123cc7d3fa42 | |
parent | 6bd296f1e40e0be5e35a1e954abdffd356987a80 (diff) | |
download | ffmpeg-streaming-4389d606e6ce1be6e1ad41142069cb897f7f4559.zip ffmpeg-streaming-4389d606e6ce1be6e1ad41142069cb897f7f4559.tar.gz |
av_fill_image_linesizes -> av_image_fill_linesizes
Originally committed as revision 32106 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c index 51de670..09ccdb3 100644 --- a/libswscale/swscale-test.c +++ b/libswscale/swscale-test.c @@ -87,7 +87,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, 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 @@ static void selfTest(uint8_t *ref[4], int refStride[4], int w, int h) 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); |