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
cf83c017
Commit
cf83c017
authored
Oct 14, 2014
by
Luca Barbato
Committed by
Vittorio Giovara
Oct 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avplay: Always free find_stream_info options
CC: libav-stable@libav.org Bug-Id: CID 1238794
parent
f29c226a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
avplay.c
avplay.c
+5
-3
No files found.
avplay.c
View file @
cf83c017
...
...
@@ -2266,14 +2266,16 @@ static int decode_thread(void *arg)
orig_nb_streams
=
ic
->
nb_streams
;
err
=
avformat_find_stream_info
(
ic
,
opts
);
for
(
i
=
0
;
i
<
orig_nb_streams
;
i
++
)
av_dict_free
(
&
opts
[
i
]);
av_freep
(
&
opts
);
if
(
err
<
0
)
{
fprintf
(
stderr
,
"%s: could not find codec parameters
\n
"
,
is
->
filename
);
ret
=
-
1
;
goto
fail
;
}
for
(
i
=
0
;
i
<
orig_nb_streams
;
i
++
)
av_dict_free
(
&
opts
[
i
]);
av_freep
(
&
opts
);
if
(
ic
->
pb
)
ic
->
pb
->
eof_reached
=
0
;
// FIXME hack, avplay maybe should not use url_feof() to test for the end
...
...
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