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 /libvo/vo_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 'libvo/vo_mpegpes.c')
-rw-r--r-- | libvo/vo_mpegpes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_mpegpes.c b/libvo/vo_mpegpes.c index a113fa32f2..ec67bceee5 100644 --- a/libvo/vo_mpegpes.c +++ b/libvo/vo_mpegpes.c @@ -172,7 +172,7 @@ static void draw_osd(void) } -static int my_write(unsigned char* data,int len){ +static int my_write(const unsigned char* data,int len){ int orig_len = len; #ifdef HAVE_DVB #define NFD 2 |