[FFmpeg-cvslog] avutil/utf8: put under #ifdef TEST

Michael Niedermayer git at videolan.org
Fri Nov 22 17:17:53 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 22 17:09:31 2013 +0100| [51268aaed245f6cc7252e5e3692e00e13963d601] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=51268aaed245f6cc7252e5e3692e00e13963d601
---

 libavutil/utf8.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/utf8.c b/libavutil/utf8.c
index 37a2802..3447a51 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



More information about the ffmpeg-cvslog mailing list