Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
8d1c7ca2
Commit
8d1c7ca2
authored
Jul 03, 2011
by
oblique
Committed by
Max Kellermann
Jul 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: workaround for semantic API change in recent ffmpeg versions
parent
52b8e0f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
NEWS
NEWS
+2
-0
ffmpeg_decoder_plugin.c
src/decoder/ffmpeg_decoder_plugin.c
+2
-2
No files found.
NEWS
View file @
8d1c7ca2
ver 0.16.4 (2010/??/??)
* decoder:
- ffmpeg: workaround for semantic API change in recent ffmpeg versions
ver 0.16.3 (2011/06/04)
...
...
src/decoder/ffmpeg_decoder_plugin.c
View file @
8d1c7ca2
...
...
@@ -321,7 +321,7 @@ ffmpeg_decode(struct decoder *decoder, struct input_stream *input)
}
//ffmpeg works with ours "fileops" helper
AVFormatContext
*
format_context
;
AVFormatContext
*
format_context
=
NULL
;
if
(
av_open_input_stream
(
&
format_context
,
stream
->
io
,
input
->
uri
,
input_format
,
NULL
)
!=
0
)
{
g_warning
(
"Open failed
\n
"
);
...
...
@@ -470,7 +470,7 @@ ffmpeg_stream_tag(struct input_stream *is)
if
(
stream
==
NULL
)
return
NULL
;
AVFormatContext
*
f
;
AVFormatContext
*
f
=
NULL
;
if
(
av_open_input_stream
(
&
f
,
stream
->
io
,
is
->
uri
,
input_format
,
NULL
)
!=
0
)
{
mpd_ffmpeg_stream_close
(
stream
);
...
...
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