diff options
Diffstat (limited to 'src/input')
| -rw-r--r-- | src/input/libreal/asmrp.c | 4 | ||||
| -rw-r--r-- | src/input/libreal/real.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/input/libreal/asmrp.c b/src/input/libreal/asmrp.c index 45730eb90..df4f37774 100644 --- a/src/input/libreal/asmrp.c +++ b/src/input/libreal/asmrp.c @@ -362,7 +362,7 @@ static void asmrp_get_sym (asmrp_t *p) { } -static int asmrp_find_id (asmrp_t *p, char *s) { +static int asmrp_find_id (asmrp_t *p, const char *s) { int i; @@ -374,7 +374,7 @@ static int asmrp_find_id (asmrp_t *p, char *s) { return -1; } -static int asmrp_set_id (asmrp_t *p, char *s, int v) { +static int asmrp_set_id (asmrp_t *p, const char *s, int v) { int i; diff --git a/src/input/libreal/real.c b/src/input/libreal/real.c index d5320abed..73f1ec3b3 100644 --- a/src/input/libreal/real.c +++ b/src/input/libreal/real.c @@ -538,7 +538,9 @@ int real_get_rdt_chunk(rtsp_t *rtsp_session, unsigned char **buffer) { rmff_pheader_t ph; int size; int flags1; +#ifdef LOG int unknown1; +#endif uint32_t ts; n=rtsp_read_data(rtsp_session, header, 8); @@ -572,7 +574,9 @@ int real_get_rdt_chunk(rtsp_t *rtsp_session, unsigned char **buffer) { flags1=header[4]; size-=9; } +#ifdef LOG unknown1=(header[5]<<16)+(header[6]<<8)+(header[7]); +#endif n=rtsp_read_data(rtsp_session, header, 6); if (n<6) return 0; ts=_X_BE_32(header); |
