changeset 6357:3f86370d3f63 libavcodec

My commit in r11942 broke compilation. This fixes it.
author vitor
date Fri, 15 Feb 2008 19:47:14 +0000
parents afa99894d8d9
children 6aa3024c07c5
files imgconvert.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/imgconvert.c	Fri Feb 15 18:01:07 2008 +0000
+++ b/imgconvert.c	Fri Feb 15 19:47:14 2008 +0000
@@ -608,10 +608,10 @@
     if(avcodec_check_dimensions(NULL, width, height))
         return -1;
 
-    if (avpicture_fill_linesize(picture, pix_fmt, width))
+    if (ff_fill_linesize(picture, pix_fmt, width))
         return -1;
 
-    return avpicture_fill_pointer(picture, ptr, pix_fmt, height);
+    return ff_fill_pointer(picture, ptr, pix_fmt, height);
 }
 
 int avpicture_layout(const AVPicture* src, int pix_fmt, int width, int height,