X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aac_afh.c;h=a53a757fd89777720cf5dafca5589ccad3117216;hp=7de737068863df6d4a6233aa52628cbf53738921;hb=75d545612d8fb51b7e6b2f8a7349b54502004cfa;hpb=ad6c68022eea0b0962855a2120cf242446bf10b9 diff --git a/aac_afh.c b/aac_afh.c index 7de73706..a53a757f 100644 --- a/aac_afh.c +++ b/aac_afh.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2008 Andre Noll + * Copyright (C) 2006-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -11,7 +11,6 @@ /** \file aac_afh.c para_server's aac audio format handler */ #include -#include #include "para.h" #include "error.h" @@ -43,9 +42,9 @@ static int aac_find_stsz(unsigned char *buf, size_t buflen, off_t *skip) return -E_STSZ; } -static int atom_cmp(unsigned char *buf1, char *buf2) +static int atom_cmp(const unsigned char *buf1, const char *buf2) { - unsigned char *b2 = (unsigned char *)buf2; + const unsigned char *b2 = (unsigned char *)buf2; if (buf1[0] != b2[0]) return 1;