Commit 58355c7e authored by Diego Elio Pettenò's avatar Diego Elio Pettenò

libdvdcss: use a static constant array instead of a variable to hold the cache sig.

parent 5cb06542
......@@ -404,7 +404,8 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( char *psz_target )
/* If the cache is enabled, write the cache directory tag */
if( psz_cache )
{
char *psz_tag = "Signature: 8a477f597d28d172789f06886806bc55\r\n"
static const char psz_tag[] =
"Signature: 8a477f597d28d172789f06886806bc55\r\n"
"# This file is a cache directory tag created by libdvdcss.\r\n"
"# For information about cache directory tags, see:\r\n"
"# http://www.brynosaurus.com/cachedir/\r\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment