From 51268aaed245f6cc7252e5e3692e00e13963d601 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 22 Nov 2013 17:09:31 +0100 Subject: [PATCH] avutil/utf8: put under #ifdef TEST All other test programs are under #ifdef TEST too with the implementation and test code being generally in the same file Signed-off-by: Michael Niedermayer --- libavutil/utf8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/utf8.c b/libavutil/utf8.c index 37a2802b5f..3447a5192b 100644 --- a/libavutil/utf8.c +++ b/libavutil/utf8.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef TEST #include #include "libavutil/avstring.h" @@ -69,3 +70,4 @@ int main(int argc, char **argv) av_file_unmap(file_buf, file_buf_size); return 0; } +#endif