[FFmpeg-cvslog] doc/texi2pod: fix encoding type

Michael Niedermayer git at videolan.org
Thu Mar 13 03:57:57 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Mar 13 03:06:08 2014 +0100| [12ce58bebdff6bfae9c56dc785e3003968f93277] | committer: Michael Niedermayer

doc/texi2pod: fix encoding type

docs say:
'A document having more than one "=encoding" line should be considered an error. '

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=12ce58bebdff6bfae9c56dc785e3003968f93277
---

 doc/texi2pod.pl |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index f972671..b825fdc 100644
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -327,10 +327,11 @@ die "No filename or title\n" unless defined $fn && defined $tl;
 $chapters{NAME} = "$fn \- $tl\n";
 $chapters{FOOTNOTES} .= "=back\n" if exists $chapters{FOOTNOTES};
 
+# always use utf8
+print "=encoding utf8\n\n";
+
 unshift @chapters_sequence, "NAME";
 for $chapter (@chapters_sequence) {
-    # always use utf8
-    print "=encoding utf8\n";
     if (exists $chapters{$chapter}) {
         $head = uc($chapter);
         print "=head1 $head\n\n";



More information about the ffmpeg-cvslog mailing list