From b954b34a6d601d7b2ae3ad1419cb68704095e561 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 10 Feb 2009 23:26:56 +0000 Subject: Move documentation of sws_getCachedContext() from swscale.c to swscale.h. Originally committed as revision 28523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libswscale/swscale.c') diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 2d36475cae..11c2a4f681 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -3165,16 +3165,6 @@ void sws_freeContext(SwsContext *c){ av_free(c); } -/** - * Checks if context is valid or reallocs a new one instead. - * If context is NULL, just calls sws_getContext() to get a new one. - * Otherwise, checks if the parameters are the ones already saved in context. - * If that is the case, returns the current context. - * Otherwise, frees context and gets a new one. - * - * Be warned that srcFilter, dstFilter are not checked, they are - * asumed to remain valid. - */ struct SwsContext *sws_getCachedContext(struct SwsContext *context, int srcW, int srcH, enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat, int flags, -- cgit v1.2.3