download_hds: fix some decoding problems

Saw some issues while downloading streams from urplay.