aboutsummaryrefslogtreecommitdiff
path: root/libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch')
-rw-r--r--libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch b/libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch
deleted file mode 100644
index 3e9f13e65ed9..000000000000
--- a/libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 98c66a5b51db1e7a3a056deaafcb9a76d09afbeb Mon Sep 17 00:00:00 2001
-From: Petri Hintukainen <phintuka@gmail.com>
-Date: Fri, 11 Mar 2016 12:00:05 +0200
-Subject: [PATCH 1/5] Fix using DVDCSS_CACHE environment variable
-
----
- src/libdvdcss.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/libdvdcss.c b/src/libdvdcss.c
-index 2f78b78..7d86a08 100644
---- a/src/libdvdcss.c
-+++ b/src/libdvdcss.c
-@@ -274,6 +274,11 @@ static int set_cache_directory( dvdcss_t dvdcss )
- }
- #endif /* ! defined( _WIN32 ) */
- }
-+ else
-+ {
-+ strncpy( dvdcss->psz_cachefile, psz_cache, PATH_MAX );
-+ dvdcss->psz_cachefile[PATH_MAX - 1] = '\0';
-+ }
-
- /* Check that there is enough space for the cache directory path and the
- * block filename. The +1s are path separators. */
---
-2.10.0
-