diff options
Diffstat (limited to 'libmpdemux/stream_livedotcom.c')
-rw-r--r-- | libmpdemux/stream_livedotcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/stream_livedotcom.c b/libmpdemux/stream_livedotcom.c index 20c6a82499..51f6e72fa3 100644 --- a/libmpdemux/stream_livedotcom.c +++ b/libmpdemux/stream_livedotcom.c @@ -78,7 +78,7 @@ static int open_live_sdp(stream_t *stream,int mode, void* opts, int* file_format if(len > SIZE_MAX - 1) return STREAM_ERROR; - sdpDescription = (char*)malloc(len+1); + sdpDescription = malloc(len+1); if(sdpDescription == NULL) return STREAM_ERROR; numBytesRead = read(f, sdpDescription, len); if(numBytesRead != len) { |