diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-08-12 14:17:00 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-08-12 14:57:17 +0300 |
commit | 8d5912e60d3e2a12f9dae475af4472c2bc6490a6 (patch) | |
tree | 47466e3c072e9790f13e79d0aec3cf01640d9a87 /libao2/ao_mpegpes.c | |
parent | 680703ecae05a00f68573f5d434d6056fa78a437 (diff) | |
download | mpv-8d5912e60d3e2a12f9dae475af4472c2bc6490a6.tar.bz2 mpv-8d5912e60d3e2a12f9dae475af4472c2bc6490a6.tar.xz |
mpeg ao/vo drivers: Fix packet-writing helper function types
Add missing 'const' to callback functions passed to
send_mpeg_pes_packet() / send_mpeg_lpcm_packet().
Diffstat (limited to 'libao2/ao_mpegpes.c')
-rw-r--r-- | libao2/ao_mpegpes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_mpegpes.c b/libao2/ao_mpegpes.c index fd6ec4da4a..c6c66cd5ff 100644 --- a/libao2/ao_mpegpes.c +++ b/libao2/ao_mpegpes.c @@ -188,7 +188,7 @@ static int preinit(const char *arg) return vo_mpegpes_fd2; } -static int my_ao_write(unsigned char* data,int len){ +static int my_ao_write(const unsigned char* data,int len){ int orig_len = len; #ifdef HAVE_DVB #define NFD 1 |