Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#3748 closed defect (fixed)

Wrong version detection for gnutls certificate support

Reported by: ManfredTremmel Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: gnutls
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Change History (2)

comment:1 Changed 4 years ago by gajjanag

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 4 years ago by cehoyos

  • Keywords version detection removed
  • Version changed from 2.2.4 to git-master
Note: See TracTickets for help on using tickets.