summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-22 17:09:31 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-22 17:16:11 +0100
commit51268aaed245f6cc7252e5e3692e00e13963d601 (patch)
treeaddf07a25768599435f7182e1130a14a7e47779a /libavutil
parent0398b7cbd39abb049775d558ccc4ccf6dc01e92c (diff)
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 <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/utf8.c2
1 files changed, 2 insertions, 0 deletions
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 <stdio.h>
#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