Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
cebda1b6
Commit
cebda1b6
authored
Feb 05, 2014
by
James Zern
Committed by
Gerrit Code Review
Feb 05, 2014
Browse files
Merge "vp8_scalable_patterns: silence a few warnings"
parents
778d6efa
7940f141
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8_scalable_patterns.c
View file @
cebda1b6
...
...
@@ -612,7 +612,7 @@ int main(int argc, char **argv) {
die
(
"Failed to open %s for reading"
,
argv
[
1
]);
/* Open an output file for each stream */
for
(
i
=
0
;
i
<
cfg
.
ts_number_layers
;
i
++
)
for
(
i
=
0
;
i
<
(
int
)
cfg
.
ts_number_layers
;
i
++
)
{
char
file_name
[
512
];
sprintf
(
file_name
,
"%s_%d.ivf"
,
argv
[
2
],
i
);
...
...
@@ -661,7 +661,7 @@ int main(int argc, char **argv) {
switch
(
pkt
->
kind
)
{
case
VPX_CODEC_CX_FRAME_PKT
:
for
(
i
=
cfg
.
ts_layer_id
[
frame_cnt
%
cfg
.
ts_periodicity
];
i
<
cfg
.
ts_number_layers
;
i
++
)
i
<
(
int
)
cfg
.
ts_number_layers
;
i
++
)
{
write_ivf_frame_header
(
outfile
[
i
],
pkt
);
(
void
)
fwrite
(
pkt
->
data
.
frame
.
buf
,
1
,
pkt
->
data
.
frame
.
sz
,
...
...
@@ -683,7 +683,7 @@ int main(int argc, char **argv) {
die_codec
(
&
codec
,
"Failed to destroy codec"
);
/* Try to rewrite the output file headers with the actual frame count */
for
(
i
=
0
;
i
<
cfg
.
ts_number_layers
;
i
++
)
for
(
i
=
0
;
i
<
(
int
)
cfg
.
ts_number_layers
;
i
++
)
{
if
(
!
fseek
(
outfile
[
i
],
0
,
SEEK_SET
))
write_ivf_file_header
(
outfile
[
i
],
&
cfg
,
frames_in_layer
[
i
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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