diff options
author | Drew Hess <dhess@ilm.com> | 2003-10-11 08:18:05 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-10-11 08:18:05 +0000 |
commit | 75917b887b4b7b672c613b0db6cedc92844706fe (patch) | |
tree | fdb28d65a4a02649a66fb93809401b655417f3bc /libavcodec/imgconvert.c | |
parent | 86a7e1150222e77478413c68bd3b9412c0c1b14a (diff) | |
download | ffmpeg-75917b887b4b7b672c613b0db6cedc92844706fe.tar.gz |
recommit of
promote avpicture_alloc to public interface patch by (Drew Hess <dhess at ilm dot com>)
Originally committed as revision 2351 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 98ab7d53d6..f154e4437e 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -1613,7 +1613,7 @@ static ConvertEntry convert_table[PIX_FMT_NB][PIX_FMT_NB] = { }, }; -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 @@ static int avpicture_alloc(AVPicture *picture, return -1; } -static void avpicture_free(AVPicture *picture) +void avpicture_free(AVPicture *picture) { av_free(picture->data[0]); } |