summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-13 19:14:34 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-13 19:14:34 +0100
commit6a4ad1db844168cd5547850d9614704ac6312156 (patch)
treee2a383f61941018a2e47f821f4303a0dd97317f9 /src
parent805373666699066d9dcbc77c288933025b65f889 (diff)
downloadxine-lib-6a4ad1db844168cd5547850d9614704ac6312156.tar.gz
xine-lib-6a4ad1db844168cd5547850d9614704ac6312156.tar.bz2
Make rmff_dump_pheader accept a bytes buffer.
Diffstat (limited to 'src')
-rw-r--r--src/input/libreal/rmff.c2
-rw-r--r--src/input/libreal/rmff.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/input/libreal/rmff.c b/src/input/libreal/rmff.c
index 68813ec29..e942fe4cc 100644
--- a/src/input/libreal/rmff.c
+++ b/src/input/libreal/rmff.c
@@ -231,7 +231,7 @@ int rmff_dump_header(rmff_header_t *h, void *buf_gen, int max) {
return written;
}
-void rmff_dump_pheader(rmff_pheader_t *h, char *data) {
+void rmff_dump_pheader(rmff_pheader_t *h, uint8_t *data) {
data[0]=(h->object_version>>8) & 0xff;
data[1]=h->object_version & 0xff;
diff --git a/src/input/libreal/rmff.h b/src/input/libreal/rmff.h
index 5944f9451..010ee5154 100644
--- a/src/input/libreal/rmff.h
+++ b/src/input/libreal/rmff.h
@@ -250,7 +250,7 @@ int rmff_dump_header(rmff_header_t *h, void *buffer, int max);
/*
* dumps a packet header
*/
-void rmff_dump_pheader(rmff_pheader_t *h, char *data);
+void rmff_dump_pheader(rmff_pheader_t *h, uint8_t *data);
/*
* frees a header struct