Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
83ef1fea
Commit
83ef1fea
authored
Jul 17, 2007
by
Benoit Fouet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tools compilation
Originally committed as revision 9712 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
975741e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
Makefile
Makefile
+2
-2
cws2fws.c
tools/cws2fws.c
+5
-5
No files found.
Makefile
View file @
83ef1fea
...
@@ -102,10 +102,10 @@ version.h:
...
@@ -102,10 +102,10 @@ version.h:
output_example$(EXESUF)
:
output_example.o .libs
output_example$(EXESUF)
:
output_example.o .libs
$(CC)
$(CFLAGS)
$(LDFLAGS)
-o
$@
$<
$(EXTRALIBS)
$(CC)
$(CFLAGS)
$(LDFLAGS)
-o
$@
$<
$(EXTRALIBS)
tools/qt-faststart$(EXESUF)
:
qt-faststart.c
tools/qt-faststart$(EXESUF)
:
tools/
qt-faststart.c
$(CC)
$(CFLAGS)
$<
-o
$@
$(CC)
$(CFLAGS)
$<
-o
$@
tools/cws2fws$(EXESUF)
:
cws2fws.c
tools/cws2fws$(EXESUF)
:
tools/
cws2fws.c
$(CC)
$(CFLAGS)
$<
-o
$@
-lz
$(CC)
$(CFLAGS)
$<
-o
$@
-lz
ffplay.o
:
CFLAGS += $(SDL_CFLAGS)
ffplay.o
:
CFLAGS += $(SDL_CFLAGS)
...
...
tools/cws2fws.c
View file @
83ef1fea
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#ifdef DEBUG
#ifdef DEBUG
#define dbgprintf printf
#define dbgprintf printf
#else
#else
#define dbgprintf
#define dbgprintf
(...)
#endif
#endif
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
...
@@ -111,13 +111,13 @@ int main(int argc, char *argv[])
...
@@ -111,13 +111,13 @@ int main(int argc, char *argv[])
if
(
zstream
.
total_out
!=
uncomp_len
-
8
)
if
(
zstream
.
total_out
!=
uncomp_len
-
8
)
{
{
printf
(
"Size mismatch (%
d
!= %d), updating header...
\n
"
,
printf
(
"Size mismatch (%
lu
!= %d), updating header...
\n
"
,
zstream
.
total_out
,
uncomp_len
-
8
);
zstream
.
total_out
,
uncomp_len
-
8
);
buf_in
[
0
]
=
(
zstream
.
total_out
+
8
)
&
0xff
;
buf_in
[
0
]
=
(
zstream
.
total_out
+
8
)
&
0xff
;
buf_in
[
1
]
=
(
zstream
.
total_out
+
8
>>
8
)
&
0xff
;
buf_in
[
1
]
=
(
(
zstream
.
total_out
+
8
)
>>
8
)
&
0xff
;
buf_in
[
2
]
=
(
zstream
.
total_out
+
8
>>
16
)
&
0xff
;
buf_in
[
2
]
=
(
(
zstream
.
total_out
+
8
)
>>
16
)
&
0xff
;
buf_in
[
3
]
=
(
zstream
.
total_out
+
8
>>
24
)
&
0xff
;
buf_in
[
3
]
=
(
(
zstream
.
total_out
+
8
)
>>
24
)
&
0xff
;
lseek
(
fd_out
,
4
,
SEEK_SET
);
lseek
(
fd_out
,
4
,
SEEK_SET
);
write
(
fd_out
,
&
buf_in
,
4
);
write
(
fd_out
,
&
buf_in
,
4
);
...
...
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