X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fraop_buffer.c;h=866134604264c9c95b290c2f97014783a0fe94fb;hb=590c2b20db01a0568d8f6dab2e25037a069faab5;hp=37bfa79dab86ac3352c7e8faf7fa1491c40ab46e;hpb=566c9bf8bfcc08b60c3cb9ae2edce8b516128203;p=deb_shairplay.git diff --git a/src/lib/raop_buffer.c b/src/lib/raop_buffer.c index 37bfa79..8661346 100644 --- a/src/lib/raop_buffer.c +++ b/src/lib/raop_buffer.c @@ -25,7 +25,7 @@ #include "crypto/crypto.h" #include "alac/alac.h" -#define RAOP_BUFFER_LENGTH 16 +#define RAOP_BUFFER_LENGTH 32 typedef struct { /* Packet available */ @@ -146,7 +146,8 @@ set_decoder_info(alac_file *alac, ALACSpecificConfig *config) } raop_buffer_t * -raop_buffer_init(const char *fmtp, +raop_buffer_init(const char *rtpmap, + const char *fmtp, const unsigned char *aeskey, const unsigned char *aesiv) { @@ -155,6 +156,7 @@ raop_buffer_init(const char *fmtp, ALACSpecificConfig *alacConfig; int i; + assert(rtpmap); assert(fmtp); assert(aeskey); assert(aesiv);