fix decoding when there is only one incomplete NAL in input queue