summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/libmpeg3/mpeg3css_fake.c
blob: 090119546eddb87b560502bd631729fc02c7588e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Stubs for deCSS which can't be distributed in source form */

#include "mpeg3css.h"
#include "mpeg3private.h"

int mpeg3_init_css(mpeg3_t *file, mpeg3_css_t *css)
{
	return 0;
}

int mpeg3_get_keys(mpeg3_css_t *css, char *path)
{
	return 1;
}

int mpeg3_decrypt_packet(mpeg3_css_t *css, unsigned char *sector)
{
	return 1;
}