Removing nulls from BITRATE_PROCESSES to fix #9 / HLS-10
Removing nulls from BITRATE_PROCESSES to fix #9 / HLS-10

--- a/HLS-Stream-Creator.sh
+++ b/HLS-Stream-Creator.sh
@@ -50,7 +50,7 @@
 # Video codec for the output video. Will be used as an value for the -vcodec argument
 VIDEO_CODEC=${VIDEO_CODEC:-"libx264"}
 
-# Video codec for the output video. Will be used as an value for the -acodec argument
+# Audio codec for the output video. Will be used as an value for the -acodec argument
 AUDIO_CODEC=${AUDIO_CODEC:-"libfdk_aac"}
 
 # Additional flags for ffmpeg
@@ -180,6 +180,7 @@
 	  fi
     done
     PIDS=("${PIDS[@]}") # remove any nulls
+    BITRATE_PROCESSES=("${BITRATE_PROCESSES[@]}") # remove any nulls
     sleep 1
 done
 }