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
ffa0674e
Commit
ffa0674e
authored
Nov 22, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: declare some variables in blocks where they are used
parent
af8ad892
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
avconv.c
avconv.c
+3
-3
No files found.
avconv.c
View file @
ffa0674e
...
...
@@ -1840,8 +1840,7 @@ static int output_packet(InputStream *ist, int ist_index,
OutputStream
*
ost_table
,
int
nb_ostreams
,
const
AVPacket
*
pkt
)
{
OutputStream
*
ost
;
int
ret
=
0
,
i
;
int
i
;
int
got_output
;
int64_t
pkt_pts
=
AV_NOPTS_VALUE
;
...
...
@@ -1867,6 +1866,7 @@ static int output_packet(InputStream *ist, int ist_index,
//while we have more to decode or while the decoder did output something on EOF
while
(
ist
->
decoding_needed
&&
(
avpkt
.
size
>
0
||
(
!
pkt
&&
got_output
)))
{
int
ret
=
0
;
handle_eof
:
ist
->
pts
=
ist
->
next_pts
;
...
...
@@ -1917,7 +1917,7 @@ static int output_packet(InputStream *ist, int ist_index,
}
}
for
(
i
=
0
;
pkt
&&
i
<
nb_ostreams
;
i
++
)
{
ost
=
&
ost_table
[
i
];
OutputStream
*
ost
=
&
ost_table
[
i
];
if
(
!
check_output_constraints
(
ist
,
ost
)
||
ost
->
encoding_needed
)
continue
;
...
...
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