Module: libav
Branch: master
Commit: 27a310e3813ce3c123df21622950c604d5df970c

Author:    Mans Rullgard <[email protected]>
Committer: Mans Rullgard <[email protected]>
Date:      Mon Oct  8 11:13:35 2012 +0100

doc: allow building with old texi2html versions

Signed-off-by: Mans Rullgard <[email protected]>

---

 doc/t2h.init |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/doc/t2h.init b/doc/t2h.init
index 54235d2..78c5177 100644
--- a/doc/t2h.init
+++ b/doc/t2h.init
@@ -145,7 +145,8 @@ $print_page_foot = \&Libav_print_page_foot;
 sub Libav_print_page_foot($$)
 {
     my $fh = shift;
-    my $program_string = T2H_DEFAULT_program_string();
+    my $program_string = defined &T2H_DEFAULT_program_string ?
+        T2H_DEFAULT_program_string() : program_string();
     print $fh '<footer class="footer pagination-right">' . "\n";
     print $fh '<span class="label label-info">' . $program_string;
     print $fh "</span></footer></div>\n";

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to