mpegts_input_open_pid: fix the wrong variable assignment