[vlc-devel] [PATCH] swscale: fix compilation

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Feb 26 15:20:16 CET 2016


On 2/24/2016 7:50 PM, Vittorio Giovara wrote:
> On Wed, Feb 24, 2016 at 4:27 AM, Zhao Zhili <wantlamy at gmail.com> wrote:
>>
>> ffmpeg dropped SWS_CPU_CAPS without version bump
> 
> false.

This looks to be true (for Libav too):

https://git.libav.org/?p=libav.git;a=commitdiff;h=9d58639e270f7612874681e0ca30fa461e2667b7

> -#define FF_API_SWS_CPU_CAPS    (LIBSWSCALE_VERSION_MAJOR < 4)

LIBSWSCALE_VERSION_MAJOR was 3 at the time. The commits were in the
wrong order, apparently. The version bump[1] came many commits later,
instead of before, so if one were to check out a commit in between there,
it would be broken.

That said, I am unaware of any actual release in Libav or FFmpeg which
lies in between. the n2.9-dev tag is not a release.

[1] https://git.libav.org/?p=libav.git;a=commit;h=e88103a7f92cf27a2868b50acc8a9912f6088249

- Derek


More information about the vlc-devel mailing list