Repository navigation
remove dead code for ancient ffmpeg versions. - #590
Merged
Merged
Conversation
This clean-up will support avcodec since version 54. The following are the api version bump dates: 2013-03-xx version 55 2014-08-09 version 56 2015-08-28 version 57 So ffmpeg release after 2013 should work well under this change. Perhaps some earlier versions during 2011-12 works fine too.
Member
|
Does it work on Ubuntu 14.4? |
Contributor
Author
|
@mahkoh it should. According to http://packages.ubuntu.com/trusty/libavcodec-dev 14.4 ship with libavcodec54 |
Member
|
It's probably best to make it compile on travis. |
Contributor
Author
Contributor
Author
|
Oh, then I have zero knowledge on how to make it work. It was broken before my changes were made (it failed on 2.8.0-rc. see https://travis-ci.org/cmus/cmus/jobs/177418500). |
Contributor
Author
|
Anyway, it's not a bad idea to merge this PR. People who're familiar with travis can do the right setup later. |
Member
|
Lgtm. I'll merge this tomorrow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This clean-up will support ffmpeg avcodec api version >= 54.
for the same reason in 62dcfb3 and #539
we're not going to support super old library versions.
ffmpeg bumped their avcodec api version to 54 in version 0.11 which released in mid 2012. See https://github.com/FFmpeg/FFmpeg/blob/release/0.11/doc/APIchanges
some more reference:
The following are the ffmpeg api version bump dates:
2013-03-xx version 55
2014-08-09 version 56
2015-08-28 version 57
See FFmpeg/FFmpeg@e88103a
FFmpeg/FFmpeg@1985c2e