Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-01-25 23:13:17 +0400
committerDiego Biurrun <diego@biurrun.de>2012-01-27 01:44:37 +0400
commit299ab0fd17a1738e21f3d036128db23ec14b2f3a (patch)
tree4118ebea50bb36c5ac54f3e97cc893d47ac4c3fa /libavutil/file.c
parent324e818093194b31112805239efd2ebc69945921 (diff)
libavutil: Remove pointless file test program.
Diffstat (limited to 'libavutil/file.c')
-rw-r--r--libavutil/file.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libavutil/file.c b/libavutil/file.c
index 649bb767a0..77aaca0fc0 100644
--- a/libavutil/file.c
+++ b/libavutil/file.c
@@ -129,21 +129,3 @@ void av_file_unmap(uint8_t *bufptr, size_t size)
av_free(bufptr);
#endif
}
-
-#ifdef TEST
-
-#undef printf
-
-int main(void)
-{
- uint8_t *buf;
- size_t size;
- if (av_file_map("file.c", &buf, &size, 0, NULL) < 0)
- return 1;
-
- buf[0] = 's';
- printf("%s", buf);
- av_file_unmap(buf, size);
- return 0;
-}
-#endif