fix faad2 version check
authorWim Taymans <wtaymans@redhat.com>
Wed, 13 May 2015 14:23:26 +0000 (16:23 +0200)
committerWim Taymans <wtaymans@redhat.com>
Wed, 13 May 2015 14:29:31 +0000 (16:29 +0200)
commit1f738ca5b8711ca5532a326cd646312e60484863
tree3fb8ee6561dd01c038937396ebb36ab09637b8ec
parent07dffe9e5b08e97fb4f2421f14cf05eab383c116
fix faad2 version check

On fedora 22, the output of cpp inserts extra debug comments, which
makes our regexp for the faad2 version check fail. This in turn causes
it to compile with the wrong arguments passed which then causes stack
corruption and crashes.

Fix this by only checking for the version (which should be by itself on
a single line). This is potentially less safe, it might be possible that
a similar string would appear in a later version in the header file.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=748571
configure.ac