[FFmpeg-trac] #3748(avformat:new): Wrong version detection for gnutls certificate support
FFmpeg
trac at avcodec.org
Sun Jun 29 18:01:25 CEST 2014
#3748: Wrong version detection for gnutls certificate support
-------------------------------------+-------------------------------------
Reporter: | Type: defect
ManfredTremmel | Priority: normal
Status: new | Version: 2.2.4
Component: avformat | Blocked By:
Keywords: gnutls | Reproduced by developer: 0
version detection |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
The gnutls certificate support was added in gnutls 3.0.20, in
libavformat/tls.c line 226 (sources of ffmpeg 2.2.4), the preprocessor
only checks the MAJOR, so it tries to compile against gnutls 3.0 - 3.0.19
with certificate support what fails.
Please change the line from
#if GNUTLS_VERSION_MAJOR >= 3
to
#if GNUTLS_VERSION_NUMBER >= 0x030020
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3748>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list