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
9362b509
Commit
9362b509
authored
May 29, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples: move API examples to a dedicated dir in doc
parent
f712f6c8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
3 deletions
+21
-3
Makefile
doc/examples/Makefile
+21
-0
api-example.c
doc/examples/api-example.c
+0
-0
output-example.c
doc/examples/output-example.c
+0
-0
Makefile
libavcodec/Makefile
+0
-2
Makefile
libavformat/Makefile
+0
-1
No files found.
doc/examples/Makefile
0 → 100644
View file @
9362b509
# use pkg-config for getting CFLAGS abd LDFLAGS
FFMPEG_LIBS
=
libavdevice libavformat libavfilter libavcodec libswscale libavutil
CFLAGS
+=
$(
shell
pkg-config
--cflags
$(FFMPEG_LIBS))
LDFLAGS
+=
$(
shell
pkg-config
--libs
$(FFMPEG_LIBS))
EXAMPLES
=
api-example output-example
OBJS
=
$
(
addsuffix .o,
$(EXAMPLES)
)
%
:
%.o
$(CC)
$<
$(LDFLAGS)
-o
$@
%.o
:
%.c
$(CC)
$<
$(CFLAGS)
-c
-o
$@
.phony
:
all clean
all
:
$(OBJS) $(EXAMPLES)
clean
:
rm
-rf
$(EXAMPLES)
$(OBJS)
libavcodec
/api-example.c
→
doc/examples
/api-example.c
View file @
9362b509
File moved
libavformat
/output-example.c
→
doc/examples
/output-example.c
View file @
9362b509
File moved
libavcodec/Makefile
View file @
9362b509
...
...
@@ -674,8 +674,6 @@ SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_internal.h
SKIPHEADERS-$(CONFIG_VDPAU)
+=
vdpau.h
SKIPHEADERS-$(CONFIG_XVMC)
+=
xvmc.h
EXAMPLES
=
api
TESTPROGS
=
cabac dct
eval
fft fft-fixed h264 iirfilter rangecoder snow
TESTPROGS-$(HAVE_MMX)
+=
motion
TESTOBJS
=
dctref.o
...
...
libavformat/Makefile
View file @
9362b509
...
...
@@ -340,7 +340,6 @@ OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
# libavdevice dependencies
OBJS-$(CONFIG_JACK_INDEV)
+=
timefilter.o
EXAMPLES
=
output
TESTPROGS
=
timefilter
include
$(SUBDIR)../subdir.mak
...
...
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