mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 23:17:41 +08:00
libavutil: Remove pointless file test program.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user