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
a9f65564
Commit
a9f65564
authored
Aug 16, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v0.18.x'
parents
2722211b
40280fa6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
NEWS
NEWS
+2
-0
FfmpegDecoderPlugin.cxx
src/decoder/plugins/FfmpegDecoderPlugin.cxx
+9
-0
ASCII.hxx
src/util/ASCII.hxx
+1
-1
No files found.
NEWS
View file @
a9f65564
...
...
@@ -58,6 +58,8 @@ ver 0.19 (not yet released)
* Android port
ver 0.18.13 (not yet released)
* decoder
- ffmpeg: support ffmpeg/libav version 11
ver 0.18.12 (2014/07/30)
* database
...
...
src/decoder/plugins/FfmpegDecoderPlugin.cxx
View file @
a9f65564
...
...
@@ -452,9 +452,18 @@ ffmpeg_decode(Decoder &decoder, InputStream &input)
AVStream
*
av_stream
=
format_context
->
streams
[
audio_stream
];
AVCodecContext
*
codec_context
=
av_stream
->
codec
;
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 25, 0)
const
AVCodecDescriptor
*
codec_descriptor
=
avcodec_descriptor_get
(
codec_context
->
codec_id
);
if
(
codec_descriptor
!=
nullptr
)
FormatDebug
(
ffmpeg_domain
,
"codec '%s'"
,
codec_descriptor
->
name
);
#else
if
(
codec_context
->
codec_name
[
0
]
!=
0
)
FormatDebug
(
ffmpeg_domain
,
"codec '%s'"
,
codec_context
->
codec_name
);
#endif
AVCodec
*
codec
=
avcodec_find_decoder
(
codec_context
->
codec_id
);
...
...
src/util/ASCII.hxx
View file @
a9f65564
...
...
@@ -33,7 +33,7 @@
#include "Compiler.h"
#include <assert.h>
#include <string.h>
#include <string
s
.h>
/**
* Determine whether two strings are equal, ignoring case for ASCII
...
...
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