[FFmpeg-devel] [PATCH] doc/muxers.texi: properly insert {}s in example

James Zern jzern at google.com
Tue Jun 16 08:04:45 CEST 2015


use '@{' / '@}', fixes compile errors:
*** '{' without macro. Before: 1:-'.'}
*** '}' without opening '{' before:

since:
907ac20 avformat/hlsenc: added HLS encryption

Signed-off-by: James Zern <jzern at google.com>
---
 doc/muxers.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 1dd7d06..22a8eb7 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -310,7 +310,7 @@ http://server/file.key
 Example shell script:
 @example
 #!/bin/sh
-BASE_URL=${1:-'.'}
+BASE_URL=$@{1:-'.'@}
 openssl rand 16 > file.key
 echo $BASE_URL/file.key > file.keyinfo
 echo file.key >> file.keyinfo
-- 
2.2.0.rc0.207.ga3a616c



More information about the ffmpeg-devel mailing list