aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-08 11:13:35 +0100
committerMans Rullgard <mans@mansr.com>2012-10-08 20:08:51 +0100
commit27a310e3813ce3c123df21622950c604d5df970c (patch)
treee552383adb9b1765301cf88805216c3c6c049c24
parentea14a655f7b8b7091aa91a083537141f1abe6a2b (diff)
downloadffmpeg-27a310e3813ce3c123df21622950c604d5df970c.tar.gz
doc: allow building with old texi2html versions
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--doc/t2h.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/t2h.init b/doc/t2h.init
index 54235d23ae..78c51772a6 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";