[FFmpeg-cvslog] doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields

Stefano Sabatini git at videolan.org
Thu Mar 7 01:47:41 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Mar  7 01:43:39 2013 +0100| [9167db3829f360f241255d4240ba6b7135ab4111] | committer: Stefano Sabatini

doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields

Fix potential spurious substitution.

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

 doc/texi2pod.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 5c3aba6..697576c 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -377,7 +377,7 @@ sub postprocess
     s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
     s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
     s/;\s+\@pxref\{(?:[^\}]*)\}//g;
-    s/\@ref\{(?:[^,]*,)(?:[^,]*,)([^,\}]*).*\}/$1/g;
+    s/\@ref\{(?:[^,\}]*,)(?:[^,\}]*,)([^,\}]*).*\}/$1/g;
     s/\@ref\{([^\}]*)\}/$1/g;
     s/\@noindent\s*//g;
     s/\@refill//g;



More information about the ffmpeg-cvslog mailing list