summaryrefslogtreecommitdiffstats
path: root/libvo/vo_mpegpes.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-12 14:17:00 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-12 14:57:17 +0300
commit8d5912e60d3e2a12f9dae475af4472c2bc6490a6 (patch)
tree47466e3c072e9790f13e79d0aec3cf01640d9a87 /libvo/vo_mpegpes.c
parent680703ecae05a00f68573f5d434d6056fa78a437 (diff)
downloadmpv-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.c2
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