Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
299ab0fd
Commit
299ab0fd
authored
Jan 25, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavutil: Remove pointless file test program.
parent
324e8180
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
19 deletions
+1
-19
Makefile
libavutil/Makefile
+1
-1
file.c
libavutil/file.c
+0
-18
No files found.
libavutil/Makefile
View file @
299ab0fd
...
...
@@ -75,7 +75,7 @@ OBJS-$(ARCH_ARM) += arm/cpu.o
OBJS-$(ARCH_PPC)
+=
ppc/cpu.o
OBJS-$(ARCH_X86)
+=
x86/cpu.o
TESTPROGS
=
adler32 aes avstring
base64
cpu crc des
eval
fi
le fi
fo lfg lls
\
TESTPROGS
=
adler32 aes avstring
base64
cpu crc des
eval
fifo lfg lls
\
md5 opt parseutils rational sha tree
TESTPROGS-$(HAVE_LZO1X_999_COMPRESS)
+=
lzo
...
...
libavutil/file.c
View file @
299ab0fd
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment