[FFmpeg-trac] #5788(swscale:new): Compile fails with undeclared type 'SwsContext'
FFmpeg
trac at avcodec.org
Sun Aug 21 22:48:53 EEST 2016
#5788: Compile fails with undeclared type 'SwsContext'
-------------------------------------+-------------------------------------
Reporter: ianbytchek | Type: defect
Status: new | Priority: normal
Component: swscale | Version:
Keywords: | unspecified
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
I'm attempting to use `SwsContext` in a Swift project, compilation fails
saying that 'SwsContext' is undeclared. Apparently `SwsContext` is
declared, but in `swscale_internal.h`, which is not installed with `make
install`. Public definitions should be moved into `swscale.h` or into a
header that would also be installed.
I configure and build libs using the below:
{{{
./configure \
--prefix="…" \
--disable-doc \
--disable-programs \
--disable-iconv \
--disable-securetransport \
--disable-audiotoolbox \
--disable-swresample \
--disable-avdevice \
--target-os=darwin \
--arch=i386 \
--arch=x86_64 \
--cc=clang \
--disable-everything \
--enable-protocol=file \
--enable-protocol=cache \
--enable-encoder=gif \
--enable-decoder=gif \
--enable-muxer=gif \
--enable-demuxer=gif
make
make install
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5788>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list