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
327d41c0
Commit
327d41c0
authored
May 02, 2011
by
Anton Khirnov
Committed by
Max Kellermann
May 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/ffmpeg: don't use deprecated CODEC_TYPE_AUDIO with new lavc
fixes build with lavc 53.
parent
05d8ce3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
NEWS
NEWS
+2
-0
ffmpeg_decoder_plugin.c
src/decoder/ffmpeg_decoder_plugin.c
+4
-0
No files found.
NEWS
View file @
327d41c0
ver 0.16.3 (2011/??/??)
* fix assertion failure in audio format mask parser
* decoder:
- ffmpeg: support lavc 53
ver 0.16.2 (2011/03/18)
...
...
src/decoder/ffmpeg_decoder_plugin.c
View file @
327d41c0
...
...
@@ -160,7 +160,11 @@ ffmpeg_find_audio_stream(const AVFormatContext *format_context)
{
for
(
unsigned
i
=
0
;
i
<
format_context
->
nb_streams
;
++
i
)
if
(
format_context
->
streams
[
i
]
->
codec
->
codec_type
==
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0)
AVMEDIA_TYPE_AUDIO
)
#else
CODEC_TYPE_AUDIO
)
#endif
return
i
;
return
-
1
;
...
...
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