From fb984553d32a8b5a6ac62210045126c9796811a8 Mon Sep 17 00:00:00 2001 From: bcoudurier Date: Thu, 6 Mar 2008 11:32:25 +0000 Subject: change sws_format_name to return const char*, supress many warnings git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26183 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/swscale.c') diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 1fc0ef47d6..22491085cf 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -276,7 +276,7 @@ static const AVOption options[] = { static AVClass sws_context_class = { "SWScaler", sws_context_to_name, options }; -char *sws_format_name(enum PixelFormat format) +const char *sws_format_name(enum PixelFormat format) { switch (format) { case PIX_FMT_YUV420P: -- cgit v1.2.3