]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
libav: link with libavcodec
authorJohn Törnblom <john.tornblom@gmail.com>
Wed, 9 Jan 2013 22:01:11 +0000 (23:01 +0100)
committerJohn Törnblom <john.tornblom@gmail.com>
Thu, 10 Jan 2013 08:41:36 +0000 (09:41 +0100)
configure

index d8cb018980fff170c1d421bd1497d27d01eadd31..870f2a4ad66cee5dc60c4305153ccc89f2c1aaed 100755 (executable)
--- a/configure
+++ b/configure
@@ -108,6 +108,14 @@ fi
 if enabled_or_auto libav; then
   has_libav=true
 
+  if $has_libav && ! check_pkg libavcodec "<=55.0.0"; then
+    has_libav=false
+  fi
+
+  if $has_libav && ! check_pkg libavcodec ">=52.96.0"; then
+    has_libav=false
+  fi
+
   if $has_libav && ! check_pkg libavutil ">=50.43.0"; then
     has_libav=false
   fi