Commit 706a49d8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove CPU capability from the plugin cache path

The plugin cache does not depend on this anymore. It always contain all
plugins like it did in VLC versions <= 1.0. In theory, it could even be
generated at build-time if:
 * the compilation is native, and
 * the set of installed plugins is invariable.
parent da76807f
......@@ -35,7 +35,6 @@
#include <stdio.h> /* sprintf() */
#include <string.h> /* strdup() */
#include <vlc_plugin.h>
#include <vlc_cpu.h>
#include <errno.h>
#include <sys/types.h>
......@@ -63,10 +62,10 @@ static int CacheLoadConfig ( module_t *, FILE * );
/* Format string for the cache filename */
#define CACHENAME_FORMAT \
"plugins-%.2zx%.2zx%.2"PRIx8"-%x.dat"
"plugins-%.2zx%.2zx%.2"PRIx8".dat"
/* Magic for the cache filename */
#define CACHENAME_VALUES \
sizeof(int), sizeof(void *), *(uint8_t *)&(uint16_t){ 0xbe1e }, vlc_CPU()
sizeof(int), sizeof(void *), *(uint8_t *)&(uint16_t){ 0xbe1e }
#define CACHE_STRING "cache "PACKAGE_NAME" "PACKAGE_VERSION
......
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