diff imgconvert.c @ 1508:5a43bc31c2eb libavcodec

recommit of promote avpicture_alloc to public interface patch by (Drew Hess <dhess at ilm dot com>)
author michael
date Sat, 11 Oct 2003 08:18:05 +0000
parents 766a2f4edbea
children 5495691106c3
line wrap: on
line diff
--- a/imgconvert.c	Sat Oct 11 01:41:41 2003 +0000
+++ b/imgconvert.c	Sat Oct 11 08:18:05 2003 +0000
@@ -1613,7 +1613,7 @@
     },
 };
 
-static int avpicture_alloc(AVPicture *picture,
+int avpicture_alloc(AVPicture *picture,
                            int pix_fmt, int width, int height)
 {
     unsigned int size;
@@ -1630,7 +1630,7 @@
     return -1;
 }
 
-static void avpicture_free(AVPicture *picture)
+void avpicture_free(AVPicture *picture)
 {
     av_free(picture->data[0]);
 }