Skip to content

remove dead code for ancient ffmpeg versions. - #590

Merged
mahkoh merged 1 commit into
cmus:masterfrom
Wang-Yue:patch-1
Dec 3, 2016
Merged

mahkoh merged 1 commit into
cmus:masterfrom
Wang-Yue:patch-1

Conversation

@Wang-Yue

@Wang-Yue Wang-Yue commented Nov 29, 2016 •

Copy link
Copy Markdown
Contributor

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

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.
@mahkoh

mahkoh commented Nov 29, 2016

Copy link
Copy Markdown
Member

Does it work on Ubuntu 14.4?

@Wang-Yue

Copy link
Copy Markdown
Contributor Author

@mahkoh

mahkoh commented Nov 29, 2016

Copy link
Copy Markdown
Member

It's probably best to make it compile on travis.

@Wang-Yue

Copy link
Copy Markdown
Contributor Author

@mahkoh

mahkoh commented Nov 29, 2016

Copy link
Copy Markdown
Member

@Wang-Yue

Copy link
Copy Markdown
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).

@Wang-Yue

Copy link
Copy Markdown
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.

@mahkoh

mahkoh commented Dec 2, 2016

Copy link
Copy Markdown
Member

Lgtm. I'll merge this tomorrow.

@mahkoh
mahkoh merged commit ef65f69 into cmus:master Dec 3, 2016
@flyingmutant flyingmutant mentioned this pull request Dec 3, 2016
3 of 9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants