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
d9cb1e0e
Commit
d9cb1e0e
authored
May 09, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffadler: fix duplicate \n on errors
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
88e0e205
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ffadler.c
tools/ffadler.c
+2
-2
No files found.
tools/ffadler.c
View file @
d9cb1e0e
...
...
@@ -46,7 +46,7 @@ static int check(char *file)
if
(
file
)
fd
=
open
(
file
,
O_RDONLY
);
else
fd
=
0
;
if
(
fd
==
-
1
)
{
printf
(
"A32=OPEN-FAILED-%d
\n
"
,
errno
);
printf
(
"A32=OPEN-FAILED-%d"
,
errno
);
ret
=
1
;
goto
end
;
}
...
...
@@ -54,7 +54,7 @@ static int check(char *file)
for
(;;)
{
ssize_t
size
=
read
(
fd
,
buffer
,
SIZE
);
if
(
size
<
0
)
{
printf
(
"A32=0x%08x+READ-FAILED-%d
\n
"
,
checksum
,
errno
);
printf
(
"A32=0x%08x+READ-FAILED-%d"
,
checksum
,
errno
);
ret
=
2
;
goto
end
;
}
else
if
(
!
size
)
...
...
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