mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
faad: Fix configure check for the FAAD version
The previous version matched things like 297 for version 2.7, etc which could be added to the file by other headers. Fixes bug #582074.
This commit is contained in:
parent
a01ccc68e4
commit
9e2b9d18ac
1 changed files with 2 additions and 2 deletions
|
@ -830,9 +830,9 @@ AG_GST_CHECK_FEATURE(FAAD, [AAC decoder plug-in], faad, [
|
||||||
AC_MSG_CHECKING([Checking FAAD2 version in $faad_hdr])
|
AC_MSG_CHECKING([Checking FAAD2 version in $faad_hdr])
|
||||||
for minor in 10 9 8 7 6 5 0; do
|
for minor in 10 9 8 7 6 5 0; do
|
||||||
if test x$faad2_minor_version = "x"; then
|
if test x$faad2_minor_version = "x"; then
|
||||||
AC_EGREP_CPP([2.$minor], [
|
AC_EGREP_CPP([GST_CHECK_FAAD_VERSION \"2\.$minor\"], [
|
||||||
#include <$faad_hdr>
|
#include <$faad_hdr>
|
||||||
FAAD2_VERSION
|
GST_CHECK_FAAD_VERSION FAAD2_VERSION
|
||||||
], [
|
], [
|
||||||
faad2_minor_version=$minor
|
faad2_minor_version=$minor
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue