X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fh.263%2Fswfvideo.c;h=d9e180376f743969e260af81263795f93111356c;hb=d41e3dfe99bfc6e1ee92831be3257e8bab412711;hp=2ca6bdeefe4d9ea269ce5d19b9fa824c7b3b8503;hpb=5a4a20931aade60f0e99df0819fbd1c007a705da;p=swftools.git diff --git a/lib/h.263/swfvideo.c b/lib/h.263/swfvideo.c index 2ca6bde..d9e1803 100644 --- a/lib/h.263/swfvideo.c +++ b/lib/h.263/swfvideo.c @@ -1532,7 +1532,7 @@ int main(int argn, char*argv[]) memset(&stream, 0, sizeof(stream)); - getPNG(fname, &width, &height, &data); + png_load(fname, &width, &height, &data); pic = (RGBA*)rfx_alloc(width*height*sizeof(RGBA)); pic2 = (RGBA*)rfx_alloc(width*height*sizeof(RGBA)); memcpy(pic, data, width*height*sizeof(RGBA));