[FFmpeg-devel] [PATCH] make img_convert symbol conditional on lavc version, not libswscale
Reinhard Tartler
siretart
Fri Jun 6 11:22:56 CEST 2008
Anssi Hannula <anssi.hannula at gmail.com> writes:
>> I think if these four functions where conditionally compiled (only
>> without libswscale) in libavcodec, it would be reasonable to apply that
>> patch to ffmpeg upstream as transition help for downstreams.
>
> Yeah, package maintainers usually do not have time to learn APIs and
> port applications between them. That is left to the upstream developers.
>
> I don't care that much whether the old api should be provided in
> upstream ffmpeg, though. It is, after all, a deprecated api.
In this case, the issue is not about a deprecated api, but two
implementations where one of them is deprecated.
I was told that libswscale is supposed to be a replacement for
img_resample.c, and (most) application have already been ported. However
since it is not a drop-in replacement (it does introduce a different
API, so real porting efford is needed), provding both implementations
enables distributions to support legacy, unported applications as well.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
More information about the ffmpeg-devel
mailing list