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
1e54297b
Commit
1e54297b
authored
Apr 25, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/ffmpeg/Init: fix av_register_all() deprecation warning
av_register_all() was deprecated in FFmpeg/FFmpeg@0694d8702421e7aff1340038559c438b61bb30dd
parent
44b20024
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
NEWS
NEWS
+2
-0
Init.cxx
src/lib/ffmpeg/Init.cxx
+3
-0
No files found.
NEWS
View file @
1e54297b
...
@@ -3,6 +3,8 @@ ver 0.20.19 (not yet released)
...
@@ -3,6 +3,8 @@ ver 0.20.19 (not yet released)
- validate absolute seek time, reject negative values
- validate absolute seek time, reject negative values
* input
* input
- mms: fix lockup bug and a crash bug
- mms: fix lockup bug and a crash bug
* decoder
- ffmpeg: fix av_register_all() deprecation warning (FFmpeg 4.0)
* player
* player
- fix spurious "Not seekable" error when switching radio streams
- fix spurious "Not seekable" error when switching radio streams
* macOS: fix crash bug
* macOS: fix crash bug
...
...
src/lib/ffmpeg/Init.cxx
View file @
1e54297b
...
@@ -33,6 +33,9 @@ FfmpegInit()
...
@@ -33,6 +33,9 @@ FfmpegInit()
{
{
av_log_set_callback
(
FfmpegLogCallback
);
av_log_set_callback
(
FfmpegLogCallback
);
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 100)
/* deprecated as of FFmpeg 4.0 */
av_register_all
();
av_register_all
();
#endif
}
}
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