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
2f0f9a87
Commit
2f0f9a87
authored
Nov 21, 2011
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix various if parenthesis misplacements.
parent
4931c8f0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
filtering.c
doc/examples/filtering.c
+1
-1
alsdec.c
libavcodec/alsdec.c
+1
-1
v4l2.c
libavdevice/v4l2.c
+2
-2
vf_drawtext.c
libavfilter/vf_drawtext.c
+1
-1
vf_fifo.c
libavfilter/vf_fifo.c
+1
-1
wav.c
libavformat/wav.c
+1
-1
No files found.
doc/examples/filtering.c
View file @
2f0f9a87
...
...
@@ -173,7 +173,7 @@ int main(int argc, char **argv)
av_register_all
();
avfilter_register_all
();
if
((
ret
=
open_input_file
(
argv
[
1
])
<
0
)
)
if
((
ret
=
open_input_file
(
argv
[
1
])
)
<
0
)
goto
end
;
if
((
ret
=
init_filters
(
filter_descr
))
<
0
)
goto
end
;
...
...
libavcodec/alsdec.c
View file @
2f0f9a87
...
...
@@ -1442,7 +1442,7 @@ static int decode_frame(AVCodecContext *avctx,
ctx
->
cur_frame_length
=
sconf
->
frame_length
;
// decode the frame data
if
((
invalid_frame
=
read_frame_data
(
ctx
,
ra_frame
)
<
0
)
)
if
((
invalid_frame
=
read_frame_data
(
ctx
,
ra_frame
)
)
<
0
)
av_log
(
ctx
->
avctx
,
AV_LOG_WARNING
,
"Reading frame data failed. Skipping RA unit.
\n
"
);
...
...
libavdevice/v4l2.c
View file @
2f0f9a87
...
...
@@ -634,11 +634,11 @@ static int v4l2_read_header(AVFormatContext *s1, AVFormatParameters *ap)
res
=
AVERROR
(
EIO
);
goto
out
;
}
if
((
res
=
av_image_check_size
(
s
->
width
,
s
->
height
,
0
,
s1
)
<
0
)
)
if
((
res
=
av_image_check_size
(
s
->
width
,
s
->
height
,
0
,
s1
)
)
<
0
)
goto
out
;
s
->
frame_format
=
desired_format
;
if
((
res
=
v4l2_set_parameters
(
s1
,
ap
)
<
0
)
)
if
((
res
=
v4l2_set_parameters
(
s1
,
ap
)
)
<
0
)
goto
out
;
st
->
codec
->
pix_fmt
=
fmt_v4l2ff
(
desired_format
,
codec_id
);
...
...
libavfilter/vf_drawtext.c
View file @
2f0f9a87
...
...
@@ -359,7 +359,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
load_glyph
(
ctx
,
NULL
,
0
);
/* set the tabsize in pixels */
if
((
err
=
load_glyph
(
ctx
,
&
glyph
,
' '
)
<
0
)
)
{
if
((
err
=
load_glyph
(
ctx
,
&
glyph
,
' '
)
)
<
0
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Could not set tabsize.
\n
"
);
return
err
;
}
...
...
libavfilter/vf_fifo.c
View file @
2f0f9a87
...
...
@@ -76,7 +76,7 @@ static int request_frame(AVFilterLink *outlink)
int
ret
;
if
(
!
fifo
->
root
.
next
)
{
if
((
ret
=
avfilter_request_frame
(
outlink
->
src
->
inputs
[
0
])
<
0
)
)
if
((
ret
=
avfilter_request_frame
(
outlink
->
src
->
inputs
[
0
])
)
<
0
)
return
ret
;
}
...
...
libavformat/wav.c
View file @
2f0f9a87
...
...
@@ -442,7 +442,7 @@ static int wav_read_header(AVFormatContext *s,
switch
(
tag
)
{
case
MKTAG
(
'f'
,
'm'
,
't'
,
' '
):
/* only parse the first 'fmt ' tag found */
if
(
!
got_fmt
&&
(
ret
=
wav_parse_fmt_tag
(
s
,
size
,
&
st
)
<
0
)
)
{
if
(
!
got_fmt
&&
(
ret
=
wav_parse_fmt_tag
(
s
,
size
,
&
st
)
)
<
0
)
{
return
ret
;
}
else
if
(
got_fmt
)
av_log
(
s
,
AV_LOG_WARNING
,
"found more than one 'fmt ' tag
\n
"
);
...
...
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